Property wrappers to remove boilerplate code in Swift

Property wrappers were first introduced during WWDC 2019 and come with Xcode 11 in Swift 5. It’s a neat addition ...
Read More
Swift

Try catch throw: implementing Error Handling in Swift

Try catch in Swift combined with throwing errors make it possible to nicely handle any failures in your code. A ...
Read More
Swift

Using NSBatchDeleteRequest to delete batches in Core Data

An NSBatchDeleteRequest can be used to efficiently delete a batch of entries from a Core Data SQLite persistent store. It runs ...
Read More
Swift

Weak self and unowned self explained in Swift

Weak self and unowned self in Swift for many of us are hard to understand. Although Automatic Reference Counting (ARC) ...
Read More
Swift

Self-documenting code to improve readability in Swift

Self-documenting code can improve the readability of your codebase. It basically means that you don’t have to write comments to ...
Read More
Swift

Typealias usage in Swift

A typealias in Swift is literally an alias for an existing type. Simple, isn’t it? They can be useful in ...
Read More
Swift

URLSession: Common pitfalls with background download & upload tasks

URLSession enables you to download and upload from the background. Although the basics seem to be easy, it’s quite hard ...
Read More
Swift

@unknown default usage with enums in Swift

@unknown default has been introduced in Swift 5 with SE-0192. It’s a new addition to the way we can work ...
Read More
Swift

Swift 5.0: How to migrate your project and frameworks

Swift 5.0 has been released in March 2019 and is the first ABI stable Swift release. Although a lot of ...
Read More
Swift

Blog about Swift: Tips and ideas to start your own

How to start your own Swift blog? It’s a question I get asked more and more. I’ve given some tips ...
Read More
Swift