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
video
iOS Development with Swift in Motion
One billion iPhone and iPad users are waiting for the next amazing app. It's time for …
book
iOS Development with Swift
iOS Development with Swift is a hands-on guide to creating apps for iPhone and iPad using …
book
Beginning iPhone Development with Swift 5: Exploring the iOS SDK
Learn how to integrate all the interface elements iOS users have come to know and love, …
video
iOS 13 Programming with Swift 5 - Second Edition
The iOS 13 SDK arrives as a major milestone in the evolution of the Swift language …