• 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: Problem with NSValueTransformer, NSTableView and NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSValueTransformer, NSTableView and NSAttributedString


  • Subject: Re: Problem with NSValueTransformer, NSTableView and NSAttributedString
  • From: Jim Correia <email@hidden>
  • Date: Tue, 23 Jun 2009 11:20:21 -0400

On Jun 23, 2009, at 11:06 AM, Kyle Sluder wrote:

On Tue, Jun 23, 2009 at 6:53 AM, Jim Correia<email@hidden> wrote:
On Jun 23, 2009, at 1:35 AM, Kyle Sluder wrote:
I do not see where you're finding this.  The bindings documentation
says: "The object should be suitable for the passing to
setObjectValue."  Maybe it's in the conceptual docs?

In the link I included in my last email (which was wrapped when sent to the
list):

Okay... but you are aware that's the documentation for NSTextFieldCell, not NSTableColumn? Bindings in a table view are done on the table column, not on the cells themselves.

Correct. I should have read the original question more carefully.

Binding an NSTableColumn to a model object property which returns an NSAttributedString works correctly. As does binding to a property through a value transformer which returns an NSAttributedString.

Jim
_______________________________________________

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: 
 >Problem with NSValueTransformer, NSTableView and NSAttributedString (From: Donnie Lee <email@hidden>)
 >Re: Problem with NSValueTransformer, NSTableView and NSAttributedString (From: Jim Correia <email@hidden>)
 >Re: Problem with NSValueTransformer, NSTableView and NSAttributedString (From: Kyle Sluder <email@hidden>)
 >Re: Problem with NSValueTransformer, NSTableView and NSAttributedString (From: Jim Correia <email@hidden>)
 >Re: Problem with NSValueTransformer, NSTableView and NSAttributedString (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Short-circuit evaluation
  • Next by Date: How to disable selection on Mouse down for NSOutlineView?
  • Previous by thread: Re: Problem with NSValueTransformer, NSTableView and NSAttributedString
  • Next by thread: Possible to set tab stops in an NSTextView?
  • Index(es):
    • Date
    • Thread