• 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: [RESOLVED] Checking facts on NSCell (e.g. in NSTableView)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RESOLVED] Checking facts on NSCell (e.g. in NSTableView)


  • Subject: Re: [RESOLVED] Checking facts on NSCell (e.g. in NSTableView)
  • From: Corbin Dunn <email@hidden>
  • Date: Thu, 08 Jan 2009 14:10:41 -0800


Will do.

I'm going to subclass NSTextFieldCell for now. I'll be drawing various bits of text and probably an icon. It's probably a bit of a stretch to say my derived cell is really a "text cell", which is why I thought to directly subclass NSCell, but it's good enough for now - and I'm too lazy to add appropriate bindings support to a directly NSCell-derived subclass ;-)

I guess I should mention why it is easier to subclass the NSTextFieldCell; it gives you "free" stuff, like auto expansion tool tips, and in-place editing, simply by overriding a few methods and calling super with appropriate rects. The PhotoSearch demo on the developer site is a good example; it draws editable text, a preview icon, and uneditable sub-title text. (Plus, I like pushing my demos :)


corbin


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Checking facts on NSCell (e.g. in NSTableView) (From: Luke Evans <email@hidden>)
 >Re: Checking facts on NSCell (e.g. in NSTableView) (From: "Kyle Sluder" <email@hidden>)
 >Re: Checking facts on NSCell (e.g. in NSTableView) (From: Luke Evans <email@hidden>)
 >Re: Checking facts on NSCell (e.g. in NSTableView) (From: Corbin Dunn <email@hidden>)
 >[RESOLVED] Checking facts on NSCell (e.g. in NSTableView) (From: Luke Evans <email@hidden>)

  • Prev by Date: [RESOLVED] Checking facts on NSCell (e.g. in NSTableView)
  • Next by Date: Re: iPhone UIView: How do I animate the addition/entrance of a window's subview?
  • Previous by thread: [RESOLVED] Checking facts on NSCell (e.g. in NSTableView)
  • Next by thread: Accessing Customize Toolbar items created in nib file
  • Index(es):
    • Date
    • Thread