In this course, you are going to create an immersive tvOS weather app. By working with weather data from a Lynda API you are going to make the demo app as real as possible. Nonetheless, the focus still lays on dealing with tvOS. You are going to divide that process into two parts. The first part is all about setting up the tvOS app's UI. The second part is all about code.
- [Instructor] The goal of this course is to create this immersive weather application. As you can see, it displays the location that we're currently at in San Francisco, the date, the current temperature, the condition, and "Blue skies all day long!" If we press arrow-down key, we can simulate the remote for that, and this brings us to a button. When we click, then we change the date. We come to Monday, Tuesday, and we see a different weather condition with different videos for all of the conditions.
So at the moment we only get "Blue skies all day long!" or "Wet and rainy," but you're going to see some differences there as we import the media files for that. And this is one part of the application. The other part of the application is a Search by City. So what I can do here is I can enter a city name. I'm going to go for, let's say New York now. New York, press the Done button. And then we're getting results for New York, and we have, again, the description of the weather condition, a temperature, and a nice weather icon that goes along with that.
So at the moment, I'm just using the arrow keys on my keyboard to navigate through our application. What I can also do is move that to the side a little, and in the simulator, in the Hardware menu, if I open that up, I can show the Apple TV Remote, or I can press shift + cmd + r for that. And if I now press the Menu button and I go back to my home screen, you will see that we have a nice app icon here, and we also have some top shelf elements.
And the cool thing now is that when I press option on my keyboard, and then I can just move around with my mouse, and then we can also test this nice parallax effect. So I can also move my mouse up with option key pressed, and then again we can have this nice parallax motion effect here by just moving the mouse on the simulated touch pad. And two things that we can do here in our top shelf, is either get the weather for the Current Location, or we can have a shortcut to the Location Surge, that is also part of our application.
And if I hit Return now, then we get to the City Search, and we can change that. And if I press cmd + shift + h, this simulates the menu button press. When I press on my Current Location, I can here our image here we get the current location again. So this is the application that we are going to create, and I'd say let's have fun together creating this immersive Apple TV app.
- 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