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

[Repost] Subclassing NSTableColumn


  • Subject: [Repost] Subclassing NSTableColumn
  • From: Ken Tozier <email@hidden>
  • Date: Sat, 9 Nov 2002 03:51:49 -0500

If this post has appeared more than once, sorry, I've been trying for two days to get a message to appear on the list.

I need to create a subclass of NSTableColumn so that it can display several different types of data and controls in it's cells but I'm not sure how to get the table to use my subclass rather the the default one.

Also, I'm not entirely sure exactly how to override data members in an opaque Cocoa class. Ideally, I'd like to replace "dataCell" in NSTableColumn with an NSArray and cache the three or four different button and field types in this array. Would I subclass NSTableColumn, add something like a "dataCells" field and override the corresponding accessor methods by writing my own versions with the exact same method name?

Thanks,

Ken Tozier
_______________________________________________
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: [Repost] Subclassing NSTableColumn
      • From: Andreas Mayer <email@hidden>
References: 
 >Calling a unix command from Cocoa ? (From: Robert Miller <email@hidden>)

  • Prev by Date: Re: AddressBook & phone multivalue
  • Next by Date: Re: To all cocoa developers - new cocoa dev forum
  • Previous by thread: Re: Calling a unix command from Cocoa ?
  • Next by thread: Re: [Repost] Subclassing NSTableColumn
  • Index(es):
    • Date
    • Thread