I am not sure that there is a catch-all 'no options' constant.

I did find framework specific examples like

kCFDateFormatterNoStyle, kCFNumberFormatterNoStyle, kCollectionDontWantTag,
kCollectionDontWantId, kCollectionDontWantSize,
kCollectionDontWantAttributes, kCollectionDontWantIndex,
kCollectionDontWantData, kCollectionNoAttributes

TJ


On Thu, Oct 17, 2013 at 10:48 AM, Sixten Otto <hims...@sfko.com> wrote:

> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/griotspeak%40gmail.com
>
> This email sent to griotsp...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to