Video description
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
Table of contents
- Overview 00:01:44
- Functions 00:09:51
- Function Argument / Parameter 00:06:07
- Enumerations 00:07:01
- Structs and Classes 00:06:33
- Properties 00:06:31
- Methods 00:07:34
- Inheritance 00:06:08
- Initializers 00:08:14
Product information
- Title: Intermediate Swift: iOS App Development with UIKit
- Author(s):
- Release date: August 2020
- Publisher(s): Apress
- ISBN: 9781484264102
You might also like
book
Pro iPhone Development with SwiftUI: Design and Manage Top Quality Apps
You know the basics. Your Swift code flows with logic and ease. This isn't your first …
book
Hands-On Server-Side Web Development with Swift
Take advantage of using the same programming language for both server and client-side with this hands-on …
book
The Startup Owner's Manual
More than 100,000 entrepreneurs rely on this book for detailed, step-by-step instructions on building successful, scalable, …
book
SwiftUI Essentials – iOS 14 Edition
Acquire and hone the skills to develop iOS apps for iPhone and iPad devices using the …