Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

firewood

macrumors G3
Original poster
Jul 29, 2003
8,149
1,400
Silicon Valley
What are the best code snippet tools for Xcode, for pasting in commonly used lines or blocks of code?

Which one do they use for the WWDC presentations?

I'd like to stick code snippets from previous projects, and findings in forums such as this one, into some sort of repository from with I can more easily find and paste them into my working project.
 
I beleive this works

code:

-(void)whatYouWantToCallIt {

code.here;

}

calling method:

[self whatYouWantToCallIt];

That should work
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.