Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whats the best way to manage code snippets on Xcode?

Tags:

xcode

macos

I have fallen in love with visual studio's code snippets toolkit. Is there anything similar on Xcode?

like image 627
eviljack Avatar asked May 20 '09 11:05

eviljack


People also ask

How do I use code snippets in Xcode?

Code snippets appear towards the right bottom corner of xcode (under the utilities section). There are so many pre defined code snippets in xcode. You just have to drag the required snippet to your editor area and use it. Sometimes you may have to edit some variable names and all as per your code.

Where do you store your code snippets?

There are various ways you can store a code snippet, either by keeping it in a GitHub repository or can use a smart code snippet manager, like Codiga's Coding Assistant. Coding Assistant allows you to store and reuse code snippets.


1 Answers

You can also take a loot at this question which is about similar issues with XCode 3 (code templates, code completion, and more).

like image 125
Pablo Santa Cruz Avatar answered Sep 26 '22 00:09

Pablo Santa Cruz