Swift
Learn more and get better in Swift using this list of Swift blog posts, tutorials, tips, and tricks.
Swift Evolution: Reading and learning from proposals
The Swift Programming Language constantly evolves, and most of its changes result from public proposals inside the Swift Evolution repository ...
User Defaults reading and writing in Swift
User Defaults are the go-to solution for Swift applications to store preferences that persist across launches of your app. It's ...
Thread dispatching and Actors: understanding execution
Actors ensure your code is executed on a specific thread, like the main or a background thread. They help you ...
Value and Type parameter packs in Swift explained with examples
Type parameter packs and value parameter packs allow you to write a generic function that accepts an arbitrary number of ...
App Intent driven development in Swift and SwiftUI
App Intent driven development can help you architect your code for reusability. An app intent allows you to define an ...
If and switch expressions in Swift
Swift 5.9 introduced if and switch expressions that allow you to write shorter code by omitting the return keyword. The ...
Predicate Macro in Swift for filtering and searching
#Predicate is a new Macro available since Swift 5.9 and Xcode 15, allowing you to filter or search a data ...
SwiftSyntax: Parse and Generate Swift source code
SwiftSyntax is a collection of Swift libraries that allow you to parse, inspect, generate, and adjust Swift source code. It ...
@backDeployed to extend function availability to older OS releases
The @backDeployed attribute in Swift allows you to extend function availability back to older OS versions. It's beneficial for framework ...
Swift Macros: Extend Swift with New Kinds of Expressions
Swift Macros got introduced in the WWDC 2023 release of Swift 5.9. They are a new way for you to ...
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 ...