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
Hands-On Swift 5 Microservices Development
Learn to design and deploy fully functioning microservices for your applications from scratch using Swift, Docker, …
Pro iPhone Development with Swift 5: Design and Manage Top Quality Apps
If you’ve already learned the basics of Swift and iOS programming, it’s time to take your …
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
Mastering Swift 4 - Fourth Edition
Dive into the latest release of the Swift programming language with this advanced development book for …