Recent Posts
The operation couldn’t be completed: solving errors in Swift
"The operation couldn't be completed" is a common error to receive from Apple's standard SDKs or 3rd party libraries. The ...
Read More
Read More
RocketSim 10.0: Builds Apps Faster
RocketSim is a developer tool that gives your iOS Simulator extra functionalities to increase day-to-day development productivity. Floating windows become ...
Read More
Read More
Equatable conformance in Swift explained with code examples
Equatable conformance allows you to compare one object with another. Based on whether the objects match, you can perform a ...
Read More
Read More
Quick start guide for Apple M1 siliconLearn about the 3-step process to transition your iOS development to Apple M1 silicon Macs — with insights from Reddit’s successful M1 transition, FAQs, and helpful M1 transition tips.
Swift Keywords
Do you know how to use each keyword in Swift?
Click on the keyword to learn more and explore code examples.
Learn more about Swift
The operation couldn’t be completed: solving errors in Swift
"The operation couldn't be completed" is a common error to receive from Apple's standard SDKs or 3rd party libraries. The ...
Equatable conformance in Swift explained with code examples
Equatable conformance allows you to compare one object with another. Based on whether the objects match, you can perform a ...
Using User Defaults to store preferences in Swift
User Defaults are the go-to solution for Swift applications to store preferences that persist across launches of your app. It's ...
Learn SwiftUI
View Composition using ViewModifiers in SwiftUI
View Composition allows you to create reusable components to create enriched views. You can extract logic into reusable components using ...
Introducing Roadmap: Offer Public Feature Voting
Roadmap is a new open-source framework written completely in Swift and SwiftUI, allowing you to integrate feature voting functionality for ...
How to use FormatStyle to restrict TextField input in SwiftUI
A custom FormatStyle can help you control the allowed characters of a SwiftUI TextField. You might want to allow numbers ...
Combine all the things
@Published risks and usage explained with code examples
@Published is one of the property wrappers in SwiftUI that allows us to trigger a view redraw whenever changes occur ...
RunLoop.main vs DispatchQueue.main: The differences explained
RunLoop.main and DispatchQueue.main are often used as schedulers within Combine. During code reviews, I often encounter inconsistency in using one ...
PassthroughSubject vs. CurrentValueSubject explained
PassthroughSubject and CurrentValueSubject are two types from the Combine framework that conforms to the Subject protocol. Both are very similar ...
Dive into Core Data
How to observe NSManagedObject changes in Core Data using Combine
Observing changes in Core Data NSManagedObject instances with Combine publishers can be a great solution to keep your user interface ...
Data validation on insertion, update, and deletion in Core Data
Data validation in apps is important to make sure we save data conforming to the business rules. A name should ...
Derived Attributes to improve Core Data Fetch Performance
Derived attributes are available since iOS 13 and aim to improve fetch performance in many different scenarios. Although we have ...
Be an expert on Xcode
RocketSim 10.0: Builds Apps Faster
RocketSim is a developer tool that gives your iOS Simulator extra functionalities to increase day-to-day development productivity. Floating windows become ...
Xcode Simulator Directories Exploration
Xcode Simulator directories allow you to find related files for your app. Unlike on a real device, you can access ...
Getting started with Unit Tests in Swift
Unit tests in programming languages ensure that written code works as expected. Given a particular input, you expect the code ...
Get better at debugging
Deadlocks in Swift explained: detecting and solving
Deadlocks in Swift can make your app hang, causing a frustrating situation for both you and your users. Your app ...
Debugging SwiftUI views: what caused that change?
Debugging SwiftUI views is an essential skill to own when writing dynamic views with several redrawing triggers. Property wrappers like ...
Flaky tests resolving using Test Repetitions in Xcode
Flaky tests can be frustrating to deal with. You're ready to open your PR until you realize your tests fail ...
Improve your workflow
Testing push notifications on the iOS simulator
Testing push notifications in the iOS simulator make adding support for remote notifications much more effortless. You often must iterate ...
Side Projects: 10 Tips for being successful
It's common to have a side project as an engineer since we can build our ideas. At the same time, ...
Picking your minimum iOS version to support
When a new iOS version arrives, it's oftentimes a moment to reflect on the supported iOS versions and see to ...
Optimize yourself and improve
Xcode Simulator Directories Exploration
Xcode Simulator directories allow you to find related files for your app. Unlike on a real device, you can access ...
Engineering goals: How to become a more successful developer
Engineering goals create focus and help you achieve the milestones of becoming a successful developer. You'll know better what you've ...
Binary Targets in Swift Package Manager
Binary Targets in Swift Package Manager (SPM) allow packages to declare xcframework bundles as available targets. The technique is often ...
Explore categories
Swift
Combine
Concurrency
SwiftUI
Core Data
Xcode
Debugging
Workflow
Optimization
Most Popular Posts
- Async await in Swift explained with code examples
- Getting started with the Combine framework in Swift
- MainActor usage in Swift explained to dispatch to the main thread
- JSON Parsing in Swift explained with code examples
- EXC_BAD_ACCESS crash error: Understanding and solving it
SwiftLee Giveaway
This month’s SwiftLee Giveaway allows you to win one of the two SwiftLeeds conference tickets.
Join this month’s SwiftLee giveaway