Clone the contents of this repository into ~/Library/Developer/Xcode/UserData/CodeSnippets and restart XCode. Snippets should appear in the Code Snippet Library.
- Copy
codesnippet.templatetoyour-snippet-name.codesnippet - Using
your-snippet-nameas theCODESNIPPET FILENAME, fill out the template - Restart Xcode
- Run
rename_snippet.shfrom the code snippet directory with the format:rename_snippet.sh <full_base_64_snippet_filename> <new_filename> full_basefilename should contain.codesnippetnew_filenamefilename should not contain.codesnippet- Add your new snippet to the repo and restart XCode.