On Thu, Oct 17, 2013 at 5:05 PM, Sixten Otto <[email protected]> wrote:

> Let me be clear: I'm not talking about borrowing the "none" constant from
> Enumeration A and using it when calling something that expects values from
> Enumeration B. I agree that that would be confusing, and possibly get me
> into trouble one day. The thing that I was trying to remember, and that
> apparently no one recognizes from my description, was a standalone thing.
> More like NULL or NO.
>

I just happened to run across the constant that I has been trying to
remember. And because this conversation was such fun the first time, I
thought I'd follow up for posterity:

The constant in question is kNilOptions. The reason no one remembered it is
almost certainly that it's declared in MacTypes.h. (See it here, for
example:
https://www.opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/MacTypes.h
)

Sixten
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to