1

Is it possible to have code snippets that I can create one time and I can use for all new projects instead of creating the same ones all the time again ?

Thanks in Advance

1 Answer 1

3

In Xcode code snippets you create are available to all projects by default.

From the Xcode Help article "Create and use code snippets" this is how to create one:

In the source editor, select the code fragment you want to make into a snippet, then choose Editor > Create Code Snippet.

Alternative, just choose Editor > Create Code Snippet.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.