• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Another dumb question about NSWindowController(s)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another dumb question about NSWindowController(s)


  • Subject: Re: Another dumb question about NSWindowController(s)
  • From: Shane Stanley <email@hidden>
  • Date: Mon, 09 Jun 2014 11:04:44 +1000

On 9 Jun 2014, at 10:16 am, Graham Cox <email@hidden> wrote:

> I really wish Xcode would allow us to make our own templates, even for NSxxx classes.

You can. Copy this:

/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Cocoa/Objective-C class.xctemplate

To here:

~/Library/Developer/Xcode/Templates/Cocoa/Objective-C custom class.xctemplate

Then edit the copied templates to your heart's content.

When you go to add a new file in Xcode, you'll see your new category of template listed.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Another dumb question about NSWindowController(s)
      • From: Eric Shepherd <email@hidden>
    • Re: Another dumb question about NSWindowController(s)
      • From: Graham Cox <email@hidden>
References: 
 >Another dumb question about NSWindowController(s) (From: William Squires <email@hidden>)
 >Re: Another dumb question about NSWindowController(s) (From: Lee Ann Rucker <email@hidden>)
 >Re: Another dumb question about NSWindowController(s) (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Another dumb question about NSWindowController(s)
  • Next by Date: Re: Another dumb question about NSWindowController(s)
  • Previous by thread: Re: Another dumb question about NSWindowController(s)
  • Next by thread: Re: Another dumb question about NSWindowController(s)
  • Index(es):
    • Date
    • Thread