• 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 NSTextFieldCell - can't even get started!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSTextFieldCell - can't even get started!


  • Subject: Re: Subclassing NSTextFieldCell - can't even get started!
  • From: j o a r <email@hidden>
  • Date: Sun, 25 Nov 2007 21:18:58 -0800


On Nov 25, 2007, at 7:52 PM, David Preece wrote:

I've written a really simple subclass, introduced it to IB2 and set the class of the appropriate cell to be the name of the subclass but can't even get init called, let alone editWithFrame.


You should probably implement "initWithCoder:" for classes instantiated from nib files.
Also note that cell subclasses typically have to conform to NSCopying.


j o a r


_______________________________________________

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: 
 >Subclassing NSTextFieldCell - can't even get started! (From: David Preece <email@hidden>)

  • Prev by Date: Multiple applications, one NSUserDefaults object?
  • Next by Date: Re: IKImageBrowser performance issues
  • Previous by thread: Re: Subclassing NSTextFieldCell - can't even get started!
  • Next by thread: Re: Subclassing NSTextFieldCell - can't even get started!
  • Index(es):
    • Date
    • Thread