What is a callback function in Swift and what do they have to do with Function Types?
In this video you will learn what Function Types are and how to use them to create "Callbacks". We use this pattern to pass data between view controllers.
Callbacks (or closures) are essentially a way to pass code from one class to another in Swift.
Enjoy this info? Visit my Patreon page to support educators and artists.
My YouTube Channel
Need help with SwiftUI? Check out my products at: Big Mountain Studio Website
Thursday, November 30, 2017
Wednesday, November 29, 2017
NotificationCenter Tutorial - Passing Data Between View Controllers (iOS...
Learn the new way to use NotificationCenter in Swift 4.
Tuesday, November 28, 2017
Passing Data to Your Popup View Controller (iOS, Xcode 9, Swift 4)
In this video you will learn how to pass data from the view controller to the popup. You will learn to do this through a segue and through code by instantiating your popup.
Monday, November 27, 2017
Reusable Custom Popups (iOS, Xcode 9, Swift 4)
You will learn how to create a popup and then display it modally with the use of a segue and also through code.
Thursday, November 16, 2017
Named Colors (iOS, Xcode 9, Swift 4)
Learn about a new Xcode 9 feature called Named Colors or Color Sets. They provide another option to putting all your app's colors in one place. You can reference Named Colors from the storyboard or from code.
Wednesday, November 8, 2017
Subscribe to:
Posts (Atom)
SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...
In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...
-
I couldn't find a tutorial on this so this is my documented journey into trying to figure out how to implement OAuthSwift into an iOS p...
-
This post visually shows the stack view's Alignment and Distribution property settings. There is also a section on resolving auto layou...
-
I had someone ask about aligning text within a TextField view and I didn't have a page in my book for this but added one just now. ...