Associated values are values that can be attached to enum cases. In this lesson, learn how to use associated values to enhance enums while simultaneously improving their readability and conciseness.
Guards, or guard statements, specify conditions that must be true for execution to continue. By using guards, you can create preconditions and safely control execution.
In this lesson, learn how to handle errors in Swift. These errors, unlike warnings or issues raised by the compiler, are generated in situations where correct behavior cannot be guaranteed.
Generics is one of the most powerful features in Swift. It powers Swift arrays, dictionaries, and collections, and it can be used to apply functionality to specified types.
Learn about closures, an alternative syntax to functions, as well as how `typealias` allows you to rename existing types.
See what happens behind the scenes when you visit a website and learn the basics of HTTP networking.
Apply your knowledge of HTTP networking to make GET requests in Swift and use GCD to ensure a responsive UI.
Visit the documentation for a third party web API and use it to build a networked iOS app.
Get practice parsing JSON and learn a variety of parsing techniques using Swift's Codable protocol.
Learn about the authentication process, access user-specific data, and make your first POST request in Swift.
Practice reading documentation as you add features to a networked app.
Learn techniques for debugging networked apps, limiting network usage, and properly handling errors.
In this project, you’ll pull in data from a web service to display a map with pins. Tapping on a pin will display a custom URL posted by another iOSND student at that location.
Time to get some more practice with web APIs, and get really comfortable debugging!