Subclassing NSTableColumn
Subclassing NSTableColumn
- Subject: Subclassing NSTableColumn
- From: Darrin Cardani <email@hidden>
- Date: Wed, 15 Oct 2003 18:39:22 -0500
I have an NSOutlineView for which I want a variety of controls for
various cells in a single column. I have subclassed NSTableColumn so
I can override -dataCellForRow: and return the appropriate type of
cell (a popup button, a slider, etc.). I have setup my .nib file so
that the column I want to use it with is of the correct type. My
subclass's -dataCellForRow: is getting called, but its initializer
isn't. I overrode -initWithIdentifier: and just plain -init:, but
neither is ever called. Why not?
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<
http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.