Re: NSTableColumn 'enabled' binding not in 10.3? Any others?
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