How do I change the author and company name for new files?

Discussion in 'Mac Programming' started by detz, Oct 2, 2008.

  1. detz macrumors 65816

    Joined:
    Jun 29, 2007
    #1
    How do I change the author and company name for new files? When I create a new project all files get

    //
    // TestAppDelegate.m
    // Test
    //
    // Created by Ryan on 10/2/08.
    // Copyright __MyCompanyName__ 2008. All rights reserved.
    //

    at the top, how can I change Ryan and __MyCompanyName__ to something else?
     
  2. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #2
    In Terminal, on the command line, enter
    Code:
    defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions '{ ORGANIZATIONNAME = "Your Name Goes Here" ; }'
    
     
  3. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #3
    Or if you already have an entry in Address Book for yourself, you can edit the company field there.
     

Share This Page