With the Multipeer Connectivity framework you can discover services provided by nearby devices and support communication with those services through message-based data, streaming data, and resources such as files. The Multipeer Connectivity framework is the ideal choice for most communication tasks between Apple TV and a nearby iPhone or iPad.
- [Instructor] We want to be able to send…some location information from a companion IOS application…to our weather application on tvOS,…and the cool thing is,…that we can use the multipeer connectivity framework…on both devices on iPhone and Apple TV…to actually discover and connect to nearby devices…and they won't even have to be on the same wifi network.…The documentation tells us…the tvOS uses infrastructure wifi…and peer-to-peer wifi in order to connect devices,…and we're able to send data…through different ways, like message-based data,…streaming data, and even files, such as image files,…or whatever we actually like.…
And to get started implementing…the multipeer connectivity framework in our project,…I've already prepared a little something for you…which is all called peernetwork.swift…and you'll find that in your exercise files,…and I'm going to drag and drop this file now…to my helper folder in our project into our helper group,…just make that copy items if needed to select it…and that we add this to our target, the weather application.…
- The Siri remote
- The focus model
- Adding video assets and imagery
- UIKit components
- Location services
- Accessing a Web API
- Enabling the top shelf and layered images
- Setting up shortcuts
- Communicating with URL schemes
- Adding a layered app icon
Skill Level Beginner
1. Introducing tvOS Development
2. Your First tvOS App: Build the UI
3. Your First tvOS App: Add the Logic
4. Multipeer Connectivity
5. Final Touches
Next steps1m 18s
- 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.