Struct vs classes in Swift: The differences explained
What is a class? What is a struct? When should I use which and what are the difference between a class and a struct? Explained with code examples.
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.
What is a class? What is a struct? When should I use which and what are the difference between a class and a struct? Explained with code examples.
Error handling in Swift Combine explained by covering operators like mapError, catch, replaceError, assertOnFailure, and how to map to the Never error type.
Learn when to use a Set, NSOrderedSet or an Array based on the differences like performance, uniqueness of elements and the order of elements.
The Xcode refactoring engine allows you to quickly edit a lot of code. Learn how to rename Swift code, "Extract Method", "Extract Variable" and more!
Learn how to implement the UIKeyCommand to add keyboard shortcuts to classes like the UITabBarController and UICollectionView and use them in the simulator.
Combine debugging can be hard because of the long stack traces and asynchronous callbacks. Learn how to benefit from Combine operators to solve this issue.
Create a custom Combine Publisher to extend UIKit, solve common use cases, and remove boilerplate code by using code examples and useful resources.
Dynamic member lookup using @dynamicMemberLookup explained with code examples in Swift. Combine it with key paths and find usecase examples.
Learn how to use an NSBatchDeleteRequest to delete batches in Core Data. Know when not to use it and how to update in-memory managed objects.
When to use weak self? When to use unowned self? How to prevent retain cycles? Everything explained with code examples and detailed explanations.
A typealias can improve the readability of your codebase. Combine it with generics and see some common used examples to see how it can improve your code.
Why and how to use @unknown default in Swift 5 and up. Learn why it does not always show up and why it's helping your project to be future proof.