- [Instructor] If you want a media player…where you make the controls, you'll want an Inline player.…Let's add an Inline player to our project.…Go ahead and stop our current project…and head up to the Interface storyboard.…You can give yourself some space for the moment.…We're going to build this straight off the top…of our last project,…so I'm going to go ahead and get an interface.…Drag an interface controller onto the storyboard.…Go ahead and click the Interface Controller on the top.…

If you're using the downloads folder,…I already made for you a custom Class…called InlineInterfaceController.…So set your interface to InlineInterfaceController…in the Identity Inspector.…And then you can go back to the interface controller here.…And I'm going to put In Line for the identifier and title.…Now we can put a button in here…and we're going to put an Inline Movie.…

Do mov for movie.…There's the Inline Movie.…I'll stick it above the button.…I'll close this.…I'm going to zoom out just a little bit…so I have some more room.…

Resume Transcript Auto-Scroll

Author

Released

11/30/2017

There are over 2 million iOS apps available in the App Store, but less than 1% work on the Apple Watch. This underserved market is a great opportunity for Apple developers. Learn how to use your existing skills—plus the tools in Xcode 9 and watchOS 4—to create apps for Apple Watch. In this course, Steven Lipton shows you how to build a simple watchOS app, and then demonstrates the key differences from iOS, such as the watch picker, haptics, and the digital crown. Along the way, he shows how to create quick layouts with Interface Builder, navigate between controllers, enable dictation for text controls, and build tables. With these tips, you can quickly transition from iOS to watchOS app development and start entering the world of programming for wearable devices.

Topics include:

Principles of watchOS development

Adding buttons and labels to your app

Connecting objects to code

Testing a watchOS app

Laying out WatchKit UI objects

Adding navigation

Using Interface Library elements such as inputs, pickers, and media players