Join Todd Perkins for an in-depth discussion in this video What you should know before starting, part of iOS App Development: Working with Widgets.
- [Instructor] Let's talk about what you should know before coming into this course. You should be familiar with Xcode. We're going to be going through the Xcode user interface designing user interfaces for the widget, and writing code, editing the pelis files, et cetera. If you're unfamiliar with any of those processes, you might want to brush up in some existing courses. You should be familiar with Swift, specifically Swift 3. We are going to be writing quite a bit of code in the course, and although I'm going to explain every line, I'm not going to be going into detail about how optionals work, for example or other Swift fundamentals.
Again, if you don't feel comfortable in Swift, there are courses on that in the library. You should be familiar with how to develop a basic iOS application. In this course, we're starting with an existing application. That way we can spend our time focusing on the widget. My thinking behind this is that if you're going to be designing a widget it's for an existing application or an application that you plan on making. So, making a widget is almost always something that you do after your application is complete.
That way we can focus our time on the course purpose which is widget development. Finally, you should have a developer account for sharing data between an app and a widget. That applies to two movies in particular in this course so you can actually go through the course without having a paid developer account, but if you do want to share data between your widget and your full app, you will need the paid account to access those features.
- Understanding the possibilities and limitations of widgets
- Adding a Today extension
- Adjusting widget size
- Connecting UI elements to code
- Creating an app group for sharing data
- Creating custom app URLs
- Sending and receiving URL parameters
- Parsing URL parameters
- Handling URLs
- Going to a specific screen from a widget