How to add custom code snippets to XCode 4?

Although the documentation is very scant on this, I did find a blog post by Jason Bennett that describes step-by-step Type in the code you want to create a snippet for ghlight the code Drag the highlighted code and drop it on the Snippet utility section Click the snippet, a popup caption dialog will appear. Edit the title, description, and shortcut NOTE: You can use prompters denoted by that will give blue bubbles that you can tab to, and replace with "parameters" in your source. For example: NSDictionary * = NSBundle mainBundle infoDictionary Also, to delete your snippets, click to highlight in the snippet library, and press the "Delete" key.

Although the documentation is very scant on this, I did find a blog post by Jason Bennett that describes step-by-step. Type in the code you want to create a snippet for. Drag the highlighted code and drop it on the Snippet utility section.

Click the snippet, a popup caption dialog will appear. Edit the title, description, and shortcut. NOTE: You can use prompters denoted by that will give blue bubbles that you can tab to, and replace with "parameters" in your source.

For example: NSDictionary * = NSBundle mainBundle infoDictionary; Also, to delete your snippets, click to highlight in the snippet library, and press the "Delete" key.

Just highlight your snippet and drag it into the snippets box.

Thanks! I found the answer on another web page, wanted to post the q & a here in StackOverflow since it is such a great resource. (BTW, if the beer is free it probably isn't worth it!) – Jay Imerman Jul 22 at 1:07 @Jay: Haha.

Yeah, Apple provided free beer at WWDC the night of the party and most of it wasn't worth it =( – FreeAsInBeer Jul 22 at 1:09.

Also, to delete your snippets, click to highlight in the snippet library, and press the "Delete" key.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions