Subclassing NSTextFieldCell
Subclassing NSTextFieldCell
- Subject: Subclassing NSTextFieldCell
- From: email@hidden
- Date: Sun, 03 Sep 2006 19:56:40 +0100
I've had a look on Google, the list archives, and I must be searching
for the wrong terms, because I can't find any useful details on how to
subclass an NSTextFieldCell.
I'm trying to get custom behaviour in an NSTableView, and have found
out how to set the column's cell by dragging an NSTextFieldCell onto
the column, and clicking the white triangle, selecting a custom class.
Reading the documentation, - (id)initTextCell:(NSString *)aString; is
the designated initializer, but that never gets called. Neither does
initImageCell.
+ initialize gets called, so I know the class is being used, but it's
just not doing what I'd expect.
Has anyone got a link to a decent tutorial on the subject?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden