Swift
Learn more and get better in Swift using this list of Swift blog posts, tutorials, tips, and tricks.
Getting started with associated types in Swift Protocols
Associated types in Swift work closely together with protocols. You can literally see them as an associated type of a ...
Read More
Read More
Result in Swift: Getting started with Code Examples
The Result enum is available since Swift 5 and allows us to define a success and failure case. The type ...
Read More
Read More
Getting started with Property Wrappers in Swift
Property Wrappers in Swift allow you to extract common logic in a distinct wrapper object. Since the introduction during WWDC ...
Read More
Read More
Constraints in Core Data Entities explained
Constraints in Core Data are part of an entity configuration. Settings like the entity name and Spotlight display name might ...
Read More
Read More
NSManagedObject events: handling state in Core Data
An NSManagedObject lifecycle goes from insertion and updates until deletion in the end. All those events come with their own ...
Read More
Read More
How to use the #available attribute in Swift
Marking pieces of code as available per platform or version is required in the ever changing landscape of app development ...
Read More
Read More
Try Catch Throw: Error Handling in Swift with Code Examples
Try catch in Swift combined with throwing errors make it possible to nicely handle any failures in your code. A ...
Read More
Read More
How-to use Diffable Data Sources with Core Data
Diffable Data Sources were introduced at WWDC 2019 as a replacement for UICollectionViewDataSource and UITableViewDataSource. The API is available on ...
Read More
Read More
Diffable Data Sources Adoption with Ease
Diffable Data Sources were introduced at WWDC 2019 and are available since iOS 13. They're a replacement of the good ...
Read More
Read More
Persistent History Tracking in Core Data
WWDC 2017 introduced a new concept available from iOS 11 which is persistent history tracking. It's Apple's answer for merging ...
Read More
Read More
Write-Ahead Logging (WAL) disabled to force commits in Core Data
Write-Ahead Logging is the default journaling mode for Core Data SQLite stores since iOS 7 and OS X Mavericks. Journaling ...
Read More
Read More
Adding a closure as a target to UIButton and other controls in Swift
The target-action pattern is used in combination with user interface controls as a callback to a user event. Whenever a ...
Read More
Read More