code snippet tool?

Discussion in 'Mac Programming' started by firewood, Jul 24, 2010.

  1. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #1
    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.
     
  2. richifie macrumors newbie

    Joined:
    Oct 4, 2009
    #2
    I beleive this works

    code:

    -(void)whatYouWantToCallIt {

    code.here;

    }

    calling method:

    [self whatYouWantToCallIt];

    That should work
     
  3. dantherevelator macrumors regular

    Joined:
    Oct 8, 2007
    #3
    Code Collector Pro is what I use, when I use something.

    Xcode 4 has similar functionality built in.
     

Share This Page