From the course: Learning Apple tvOS App Development
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Demo API and some helpers
From the course: Learning Apple tvOS App Development
Demo API and some helpers
- [Instructor] We are currently in the process of building a weather application, but we did not talk about where we get the information from that we're going to display. So where is the description coming from? Where is the temperature coming from? And so on. And this is what we're going to have a look at right now. So what we can work with here is a demo API that was built for us by Lynda and this is the format that this API returns. This is just some JSON code and we also have a demo base URL here, by a service from Lynda, which is called Explore California. And the Base URL for our API is explorecalifornia.org/api/weather. And we're going to use this API, which delivers fake weather information to us, to display that information in our application. So we want to keep that as real as possible. But since we want to focus on Apple TV development here, we do not need to concern ourselves on how actually we access this API and what is going on in the process and how can we convert this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Demo API and some helpers3m 29s
-
(Locked)
A video background11m 8s
-
(Locked)
Set up location services8m 36s
-
(Locked)
Handle location updates4m 42s
-
(Locked)
Get weather data for the user's location6m 23s
-
(Locked)
Update the UI with weather data6m 30s
-
(Locked)
Forecast for more than one day6m 43s
-
(Locked)
Text entry on tvOS: Search for locations6m 34s
-
(Locked)
TableViews on tvOS5m 11s
-
(Locked)
UISplitViewController in action7m 23s
-
(Locked)
-
-
-