HOWTO Export / Import Custom Code Snippets in Xcode 6

Is there a way to export custom snippets of code from Xcode 6 and then import it into Xcode 6 of another user?

Snippets are now in a single XML file: /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/SystemCodeSnippets.codesnippets Thanks

+5
source share
1 answer

In Xcode 7.3.1, my snippets were created in ~/Library/Developer/Xcode/UserData/CodeSnippets . It looks like you are in the wrong directory. Instead, place your code snippets in this directory.

On the side of the note, you can find my code snippets here: XcodeSnippets GitHub

+3
source

Source: https://habr.com/ru/post/1207662/


All Articles