Collection of Xcode snippets + script for exporting and importing
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
.
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.
To build Snippets from source run:
swift build -c release
link |
Stars: 4 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics