0:00 / 0:00
Extracting views with closures (Swift/iOS)
Swift Arcade
10K subscribers • 16 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Jonathan Rasmusson
- Linked in the descriptionjrasmusson/swift-arcade
Intermediate. Assumes working knowledge.
1K views5 years ago1 recommendation
Mobile developmentSoftware designiOS and SwiftUISwiftDesign patterns
Jonathan Rasmusson demonstrates how to use closures to decouple custom views from view controllers in iOS applications.
Closures are a great communication pattern for when your views need to talk back to your view controllers. In this episode we take a look an an example of how to do this with w UITextField and see how closures enable us to extract views elegantly from view controllers. Source code github.com/jrasmusson/swift-arcade Book softcover.io/read/7671f69a/ios-tutorial-book Twitter @jrasmusson Courses Level Up AutoLayout udemy.com/course/level-up-in-auto-layout/?referralCode=BBCF1… Level Up in Swift udemy.com/course/level-up-in-swift/?referralCode=98AA1A570E1…Why it's here
1 person recommends thisWhat people say. Recommended as a clean way to refactor and extract views in UIKit.