• 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: Bindings / NSTableView (limitation ?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings / NSTableView (limitation ?)


  • Subject: Re: Bindings / NSTableView (limitation ?)
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 27 Jun 2007 12:31:44 -0400

On 6/27/07, Daniel Angermeier <email@hidden> wrote:
I would like to dinamically change the color of particluar rows in a
table view, depending on app state.
Before I was using the table view data source approach,
and this was failrly easy to do,
by just returning a stringWithAttributes in

It's a better idea to use the NSTableView delegate method -tableView:willDisplayCell:forTableColumn:row: for this sort of thing, but in general, Bindings and datasource/delegate methods can (and sometimes must) be intermingled.

 Google around for -tableView:willDisplayCell:forTableColumn:row:
examples; there're plenty.

--
I.S.
_______________________________________________

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


  • Follow-Ups:
    • Re: Bindings / NSTableView (limitation ?)
      • From: "Daniel Angermeier" <email@hidden>
References: 
 >Bindings / NSTableView (limitation ?) (From: "Daniel Angermeier" <email@hidden>)

  • Prev by Date: Re: how to perform boolean operation on NSBezierPath
  • Next by Date: Re: Correct approach?
  • Previous by thread: Bindings / NSTableView (limitation ?)
  • Next by thread: Re: Bindings / NSTableView (limitation ?)
  • Index(es):
    • Date
    • Thread