• 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: Subclassing NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSTextView


  • Subject: Re: Subclassing NSTextView
  • From: Graham Cox <email@hidden>
  • Date: Wed, 13 Aug 2008 15:45:53 +1000


On 13 Aug 2008, at 11:15 am, John Joyce wrote:

Too bad there is not an option for more subclass templates right in the GUI ...


There is.

Just create the files you want to use as templates and store them at:

/Developer/Library/Xcode/Cocoa/<your template name>.pbfiletemplate/ class.<h|m>

You also need a plist to describe the template to Xcode. More info here:

http://www.macresearch.org/custom_xcode_templates


hth,

Graham
_______________________________________________

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


References: 
 >RE: Subclassing NSTextView (From: John Joyce <email@hidden>)

  • Prev by Date: Re: Accessing memory of another application?
  • Next by Date: Re: Non-NSObject object and garbage collection
  • Previous by thread: RE: Subclassing NSTextView
  • Next by thread: Re: Subclassing NSTextView
  • Index(es):
    • Date
    • Thread