• 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
Do I need to subclass NSCell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do I need to subclass NSCell?


  • Subject: Do I need to subclass NSCell?
  • From: Carl Johan Foss <email@hidden>
  • Date: Mon, 20 Nov 2006 19:04:09 +0100

Hi again,

Sorry for this newbie question and I know it has been mentioned before but I do not seem to find good information about this or at least I am not at the stage yet to easily understand it.

I basically have a dictionary where each object contains three elements. Now, I would like to display them all in one cell and format them differently. My first item in the dictionary object will be my header in the cell and the two others will be other info.

The question is then if I need to subclass NSClass and add three NSTextFields into it or if this can be done in an easier way. At a later stage I want to add an image to the cell as well and then I understand I need to subclass the NSCell.

I have looked at the example from apple drag and drop but did not help me much.

If some one knows some example code which can help me here I would appreciate it.

Thanks in advance

Carl
_______________________________________________
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


  • Follow-Ups:
    • Re: Do I need to subclass NSCell?
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: Re: Re: Re: Launch bundled application before main application
  • Next by Date: Re: IOPMSchedulePowerEvent - laptop lid closed
  • Previous by thread: Re: Using NSThread to run a QCView
  • Next by thread: Re: Do I need to subclass NSCell?
  • Index(es):
    • Date
    • Thread