Join Tammy Coron for an in-depth discussion in this video Working with service groups, part of iOS HomeKit Quick Start.
- [Voiceover] Let's take a look at service groups.…Service groups allow you to control a group of services…from different accessories.…For example, you can group together…several lights in the home.…Service groups are a part of the HM Service Group class.…To create them, you'll use…the Add Service with Group Name method of the home object.…Don't forget to pass in a unique name for the group.…Once a group exists, you're able to add services to it…using the Add Service method, passing in the service…you wish to add.…
Removing services from a service group is done…using the Remove Service method,…passing in the service you wish to remove,…and finally, when you need to remove an entire service group…from the home, simply call the Remove Service Group…on the home object, passing in the service group…you wish to remove.…
- What is HomeKit?
- What's new in HomeKit?
- Using the HomeKit Accessory Simulator
- Defining a home layout
- Using the Home Manager
- Configuring homes, rooms, and zones
- Creating your first home
- Observing HomeKit database changes
- Configuring actions and action sets
- Working with triggers
- Integrating with Siri
- Building your first app with HomeKit integration
Skill Level Intermediate
iOS 9 App Development: GamePlayKitwith Tammy Coron1h 32m Intermediate
1. Getting Started with HomeKit
2. Understanding Home Configuration
3. Creating Your First Home
Working with Accessories1m 53s
4. An In-Depth Look at the HomeKit Database
5. Services, Characteristics, and Service Groups
6. Managing the Home
7. Creating a HomeKit App
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.