• 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: NSAllowsNullArgument undefined?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >NSAllowsNullArgument undefined? (From: SA Dev <email@hidden>)
 >Re: NSAllowsNullArgument undefined? (From: SA Dev <email@hidden>)
 >Re: NSAllowsNullArgument undefined? (From: j o a r <email@hidden>)

  • Prev by Date: Re: cocoabuilder.com?
  • Next by Date: Re: cocoabuilder.com?
  • Previous by thread: Re: NSAllowsNullArgument undefined?
  • Next by thread: AppKit crash: dirIsRootUnsafe
  • Index(es):
    • Date
    • Thread