Swiftpack.co -  eelcokoelewijn/XcodeSnippets as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Collection of Xcode snippets + script for exporting and importing
.package(url: "https://github.com/eelcokoelewijn/XcodeSnippets.git", from: "v3.1")


Collection of Xcode snippets + script for exporting and importing

Exporting snippets

To export the code snippets from Xcode, located in /Users/[USERNAME]/Library/Developer/Xcode/UserData/CodeSnippets, run the following command:

./snippets export

This will export all snippets to the current working directory in the folder snippets.json/default.

Importing snippets

To import code snippets into Xcode, run the following command:

./snippets import

This will import all snippets from the snippets.json/default folder into /Users/[USERNAME]/Library/Developer/Xcode/UserData/CodeSnippets folder.

Build from source

To build Snippets from source run:

swift build -c release


Stars: 0
Last commit: 19 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API