Re: NSAllowsNullArgument undefined?
Re: NSAllowsNullArgument undefined?
- Subject: Re: NSAllowsNullArgument undefined?
- From: SA Dev <email@hidden>
- Date: Tue, 11 Oct 2005 09:52:50 -0400
D'OH!
That works too. :-) This should definitely be explained in the
bindings reference docs, though. I *thought* it was incredibly odd
that I'd have to use a string constant ...
- SADev
On Oct 11, 2005, at 9:38 AM, j o a r wrote:
On 11 okt 2005, at 15.17, SA Dev wrote:
Ah, those quick solutions. Evidently, you use the constants as
strings:
NSDictionary * bindOpts = [NSDictionary
dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES],
@"NSAllowsNullArgument", nil];
Wait! Check NSKeyValueBinding.h, and the
"NSAllowsNullArgumentBindingOption" extern string!
Documented here:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Protocols/NSKeyValueBindingCreation.html>
j o a r
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden