"No options" constant
"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