In the past I’ve mentioned a couple of nice projects providing a collection of common data structures and algorithms in Swift and a collection of popular design patterns in Swift.
Here’s a project from Kamil Burczyk providing an extensive collection of Swift code snippets that you can quickly import into Xcode.
The snippets are all under the “Swift” scheme so in order to bring up the snippets you just type swift within the code editor and select the snippet of your choice.
This animation from the readme shows Xcode Swift Code Snippets in action:
You can download the project on Github here.
A nice way to add many useful Swift code snippets into Xcode.