• 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
"No options" constant
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"No options" constant


  • Subject: "No options" constant
  • From: Sixten Otto <email@hidden>
  • Date: Thu, 17 Oct 2013 10:48:49 -0700

This has been driving me crazy, and hopefully someone on the list will know
off the top…

I remember coming across a reference somewhere recently to a constant
defined in Foundation or Core Foundations (I think!) that has a zero value,
and semantically means "I choose no options". Something that would be used
in place of a literal zero when calling methods like +[UIView
animateWithDuration:delay:options:animations:completion:] or -[NSString
rangeOfString:options:] that take a set of option flags.

Of course, I didn't bookmark the reference. And now I have NO IDEA where I
saw it. Google, NSHipster, and searching the documentation haven't turned
anything up. (And that fruitless searching bugs me way more than continuing
to use a literal zero.)

Can anyone jog my memory?

Thanks,
Sixten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: "No options" constant
      • From: Seth Willits <email@hidden>
    • Re: "No options" constant
      • From: "T.J. Usiyan" <email@hidden>
  • Prev by Date: Re: Core Data with ODBC databases?
  • Next by Date: Re: Core Data with ODBC databases?
  • Previous by thread: Re: Any way to get a warning if a non-boolean type is used in an if expression?
  • Next by thread: Re: "No options" constant
  • Index(es):
    • Date
    • Thread