Adding a closure as a target to UIButton and other controls in Swift
Learn how to use closures with a UIButton, UISwitch, UITextField, and other user interface elements with Swift APIs and without 3rd party dependencies.
The Swift Concurrency Playbook
A FREE 5-day email course revealing the 5 biggest mistakes iOS developers make with async/await that lead to App Store rejections And migration projects taking months instead of days (even if you've been writing Swift for years).
5 lessons | 100% free | For iOS developers
Learn more and get better in Swift using this list of Swift blog posts, tutorials, tips, and tricks.
Learn how to use closures with a UIButton, UISwitch, UITextField, and other user interface elements with Swift APIs and without 3rd party dependencies.
A ValueTransformer allows to store types like UIColor, CGRect, and CGPoint in Core Data. Storing URLs as absolute URLs can result in lost data.
The @discardableResult attribute allows you to remove warnings like "Unusued return value" in Swift. Learn how and when to use this powerful attribute.
Core Data performance is important to prepare your app for future big datasets. Optimize your Core Data code by making use of these 6 tips.
Expressible literals can extend your Swift types and make it possible to initialize them by using a String, array, integer or other types directly.
Custom string interpolation adjusts the way an object is printed out when used inside another string. Enhance your custom objects using this protocol.
Custom debug descriptions help to improve and speed up debugging sessions. Print out the values that matter and make "po object" more valuable.
URLs are used a lot when buildings apps in Swift. You need to get the query items, file extension, or the filename. All scenarios are handled in-depth!
Learn how to use custom operators in Swift. What are the benefits and which other solutions are better compared to a custom operator for best readability.
Custom subscripts on classes, structs, or enumerations allow you to define shortcuts to collections or sequences without exposing implementation details.
Extend the NSFetchedResultsController to observe relationship changes based on key paths and automatically refresh related cells.
Testing private methods and variables is not easy. Dependency injection and the @testable attribute allows us to write the required tests in Swift.