• 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: NSTableColumn 'enabled' binding not in 10.3? Any others?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableColumn 'enabled' binding not in 10.3? Any others?


  • Subject: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 30 May 2007 08:44:26 -0700


On 2007 May, 29, at 23:19, Sam Stigler wrote:

Further testing reveals that the binding will, however, work if the string entered in the "Enabler" column" contains text (letters), but starts with a number....

Thanks, Sam, but let's not worry about the interpretation of letters vs. numbers in Tiger. In my real application, when I drive it from a useful object that returns a NSNumber boolean, it works fine. Let's keep the focus on the Panther problem.


It seems to me that a good workaround here would be to make a value transformer that will come up with a Boolean value that makes sense out of whatever is entered in the "Enabler" column.

Well, a value transformer returns a pointer of type id, i.e. an object, which I've already shown does not work. Just to see if maybe Apple's object would work better than my object, and since it doesn't require any code, I just recompiled with the NSNegateBoolean transformer patched in, but that did not help; still the same exception in Panther.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

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: NSTableColumn 'enabled' binding not in 10.3? Any others?
      • From: Sam Stigler <email@hidden>
    • Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
      • From: Sam Stigler <email@hidden>
References: 
 >NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Jerry Krinock <email@hidden>)
 >Re: NSTableColumn 'enabled' binding not in 10.3? Any others? (From: mmalc Crawford <email@hidden>)
 >Re: NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Jerry Krinock <email@hidden>)
 >Re: NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Jerry Krinock <email@hidden>)
 >Re: NSTableColumn 'enabled' binding not in 10.3? Any others? (From: Sam Stigler <email@hidden>)

  • Prev by Date: Re: NSArray or MutableArray Null/NIL placeholder
  • Next by Date: SNMP API and Cocoa
  • Previous by thread: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Next by thread: Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
  • Index(es):
    • Date
    • Thread