Press forward into intermediate Swift programming after having mastered the basics. In this video you'll pick up iOS app development with UIKit and learn enough of the language needed to create a professional app. Lead off with functions, which are important to understand to use SwiftUI well. You’ll cover function types and how those can be passed around like any other type. Then work with enumerations for Swift with Error, Result, and various other value types that are implemented using enums. You’ll also see the differences between value types (struct) and reference types (class).
Because SwiftUI is struct based and UIKit is class based, you’ll focus on the basics of properties and methods, which are the contents of your structs and classes. You’ll explore some small differences between methods on classes vs. structs or other value types, then use initializers to initialize structs and classes while learning the rules for values before properties can be used.
Finally, class inheritance will show how setting up a class hierarchy can help manage base functionality that will be common to all subclasses. Once you’ve worked through the video, you’ll have a toolkit of skills ready to take you from “Hello, World!” to an app worthy of distribution or at least demoing to a potential buyer or employer.
- Handle Swift Error enums
- Initialize structs and classes
- Set up class hierarchies
- Title: Intermediate Swift: iOS App Development with UIKit
- Release date: August 2020
- Publisher(s): Apress
- ISBN: 9781484264102
You might also like
Getting Started with Apple Watch Development: Swift Programming for watchOS
Create your own Apple Watch applications by learning the basics of Xcode and Swift, the programming …
Introducing WidgetKit for iOS: Adding a Simple Widget to Your iOS App
Create new apps and update legacy apps that support older iOS versions to allow users to …
iOS 11 Programming with SWIFT: Develop iOS mobile applications from scratch
You want to build iOS applications for the iPhone and iPad, but where do you start? …
iOS 13 Programming with Swift 5 - Second Edition
The iOS 13 SDK arrives as a major milestone in the evolution of the Swift language …