Re: "No options" constant
Re: "No options" constant
- Subject: Re: "No options" constant
- From: Sixten Otto <email@hidden>
- Date: Fri, 14 Mar 2014 14:56:11 -0700
On Thu, Oct 17, 2013 at 5:05 PM, Sixten Otto <email@hidden> 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@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