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

NSAllowsNullArgument undefined?


  • Subject: NSAllowsNullArgument undefined?
  • From: SA Dev <email@hidden>
  • Date: Tue, 11 Oct 2005 08:59:09 -0400

List:

I'm trying to create an options dictionary for manual bindings. I want to enable null arguments. According to the bindings reference for many controls, "NSAllowsNullArgument" can be an NSNumber with a bool value.

  Unfortunately, the compiler croaks at the following line:

NSDictionary * bindOpts = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES], NSAllowsNullArgument, nil];

  The error is as follows:

error: 'NSAllowsNullArgument' undeclared (first use in this function)

How am I supposed to use this constant? Is there a header I must include? Where is this documented?

Thanks,

 - SADev


_______________________________________________ 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
  • Follow-Ups:
    • Re: NSAllowsNullArgument undefined?
      • From: SA Dev <email@hidden>
  • Prev by Date: Re: NSButtonCell subclass that ignores events
  • Next by Date: Re: +[NSBundle bundleWithIdentifier:]
  • Previous by thread: Send action on end editing
  • Next by thread: Re: NSAllowsNullArgument undefined?
  • Index(es):
    • Date
    • Thread