• 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 NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Subclassing NSTableColumn
      • From: Chris Hanson <email@hidden>
  • Prev by Date: General weirdness with [self window]
  • Next by Date: Restraining window movement + gridding
  • Previous by thread: Re: General weirdness with [self window]
  • Next by thread: Re: Subclassing NSTableColumn
  • Index(es):
    • Date
    • Thread