Learn all about Swift with these posts

Swift is a powerful and intuitive programming language for macOS, iOS, watchOS, and tvOS.

Use Swift to recursively search for content in a directory's files with Glob patterns and Regular Expressions

How to find content specified by a Regular Expression in a directory's set of files defined by a Glob pattern using Swift.

Master the reduce operator in Swift and make your code more performant

Learn all about Sequence's reduce operator in Swift through a series of real-world examples.

Multi-platform Swift Package releases with GitHub Actions

How to automatically create and release a multi-platform Swift Package library with GitHub Actions whenever you push a new tag.

Setting up SharePlay on an iOS app

How to configure, start and manage shared experiences in your iOS app using SharePlay.

How to get the most played Apple Music songs and albums using Swift

Learn how to get the most played Apple Music songs and albums for a given user with MusicKit and MediaPlayer.

Enable upcoming Swift features

How to effectively adopt upcoming Swift 6 features in your Swift Packages and Xcode targets today.

Distributing a Swift Macro using CocoaPods

Learn how to create and distribute a Swift macro as a CocoaPods library.

How to import Swift macros without using Swift Package Manager

How to compile a Swift macro into a binary and import it into your Xcode project without using Swift Package Manager.

Using Swift SDKs to cross-compile Swift packages to Linux

Learn about Swift SDKs and how you can use them to cross-compile Swift code to other platforms such as Linux.

MusicKit and App Clips

A real-world example of the limitations of App Clips using MusicKit as an example, and how to work around them.

How to create an App Clip for your app

Learn how to create an App Clip for your app and how to generate codes you can share with your users to launch said App Clip.

Named capture groups in Swift regular expressions

How to set and retrieve named capture groups in Swift regular expressions using SwiftRegex and NSRegularExpression.