Recent Posts
Share Swift Code between Swift On Server Vapor and Client App
Sharing Swift code between a backend and client app is one of the benefits you'll get when working with Swift ...
Read More
Read More
10 Tips to Get Your App Featured on the App Store
Getting your app featured on the App Store allows you to gain organic growth and more reach. Users can find ...
Read More
Read More
Ranges in Swift explained with code examples
Ranges in Swift allow us to select parts of Strings, collections, and other types. They're the Swift variant of NSRange ...
Read More
Read More
The #1 Chat API for Custom Messaging AppsStream's Chat SDK helps you build beautiful chat applications with as little code as possible. With our SDKs, you can bring high-quality chat experiences to all of your end users. SDKs available for UIKit and SwiftUI.
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
Share Swift Code between Swift On Server Vapor and Client App
Sharing Swift code between a backend and client app is one of the benefits you'll get when working with Swift ...
Ranges in Swift explained with code examples
Ranges in Swift allow us to select parts of Strings, collections, and other types. They're the Swift variant of NSRange ...
MainActor usage in Swift explained to dispatch to the main thread
MainActor is a new attribute introduced in Swift 5.5 as a global actor providing an executor which performs its tasks ...
Learn SwiftUI
Universal Links implementation on iOS
Universal Links allow you to link to content inside your app when a user opens a particular URL. Webpages will ...
Deeplink URL handling in SwiftUI
Deeplinks allow you to open your app and navigate into a specific location right after launch. An example could be ...
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 ...
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
Running Xcode on top of iPad
Using the latest Xcode 14.3 and the iPad Pro (12.9 Inch) with iOS 16.4 beta, I've been able to run ...
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 ...
Get better at debugging
Network Extension Debugging on macOS
A Network Extension on macOS allows you to create content filters, DNS proxies, and more. They integrate nicely into the ...
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 ...
Improve your workflow
Location Simulation in Xcode’s Simulator
Location Simulation is a critical feature for apps that provide location access. You want to mimic the environment of real ...
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, ...
Optimize yourself and improve
10 Tips to Get Your App Featured on the App Store
Getting your app featured on the App Store allows you to gain organic growth and more reach. Users can find ...
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 ...
Explore categories
Swift
Combine
Concurrency
SwiftUI
Core Data
Xcode
Debugging
Workflow
Optimization
Most Popular Posts
- Share Swift Code between Swift On Server Vapor and Client App
- Async await in Swift explained with code examples
- MainActor usage in Swift explained to dispatch to the main thread
- URLSessionConfiguration: Exploring opt-in configurations
- Testing push notifications on the iOS simulator
SwiftLee Community
Giveaways, free behind-the-scenes stories, and latest Swift & SwiftUI articles. Join 14,323 others:
Join the Community