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

Subclassing NSTextFieldCell - can't even get started!


  • Subject: Subclassing NSTextFieldCell - can't even get started!
  • From: David Preece <email@hidden>
  • Date: Mon, 26 Nov 2007 16:52:14 +1300

Well, this has been a thoroughly unpleasant afternoon.

I'm attempting to modify the "edit" behaviour of an app containing an NSOutlineView. A little research reveals that what I am attempting to do is change the behaviour of an NSTextFieldCell by subclassing it. 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.

Does anyone have any insights into a step I have missed or otherwise? I've been working on a slightly hacked up version of the OutlineView sample code and that can be downloaded here (http://www.mediafire.com/?8dmnqlx9zme ). If someone could look at it I'd be much obliged.

Cheers,
Dave


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Subclassing NSTextFieldCell - can't even get started!
      • From: j o a r <email@hidden>
    • Re: Subclassing NSTextFieldCell - can't even get started!
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Loading View in Placeholder upon startup
  • Next by Date: Re: NSArrayController Frustration
  • Previous by thread: Re: Loading View in Placeholder upon startup
  • Next by thread: Re: Subclassing NSTextFieldCell - can't even get started!
  • Index(es):
    • Date
    • Thread