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

Re: Do I need to subclass NSCell?


  • Subject: Re: Do I need to subclass NSCell?
  • From: "Carl Johan Foss" <email@hidden>
  • Date: Tue, 21 Nov 2006 09:40:43 +0100

Hi Scott,

Thanks for your reply, I believe the NSAttributedString will work fine in
this case.

Carl

On 11/21/06, Scott Stevenson <email@hidden> wrote:


On Nov 20, 2006, at 10:04 AM, Carl Johan Foss wrote:

> 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.

It really depends on what you want the result to look like. The
question you asked it pretty open-ended. For example, you could just
format the three values as an NSAttributedString and feed that into
the cell. Is there something more specific you're looking to do?

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

_______________________________________________
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


References: 
 >Do I need to subclass NSCell? (From: Carl Johan Foss <email@hidden>)
 >Re: Do I need to subclass NSCell? (From: Scott Stevenson <email@hidden>)

  • Prev by Date: [Moderator] List guidelines and related resources (updated)
  • Next by Date: Re: All-windows Expos é messes with NSFloatingWindow level
  • Previous by thread: Re: Do I need to subclass NSCell?
  • Next by thread: NSMatrix + custom cell + bindings == crash??? EXC_ARITHMETIC
  • Index(es):
    • Date
    • Thread