Subclassing NSTextFieldCell - can't even get started!
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