Swiftpack.co - eelcokoelewijn/XcodeSnippets as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by eelcokoelewijn.
eelcokoelewijn/XcodeSnippets v3.2.2
Collection of Xcode snippets + script for exporting and importing
⭐️ 2
🕓 2 weeks ago
.package(url: "https://github.com/eelcokoelewijn/XcodeSnippets.git", from: "v3.2.2")

XCodeSnippets

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:

swift run 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:

swift run 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

GitHub

link
Stars: 2
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

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