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

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


  • Prev by Date: Re: Best way to composite/tile multiple CGImages to one image
  • Next by Date: Re: Removing Core Data from an existing app
  • Previous by thread: Re: Why is an IKImageBrowser method not firing?
  • Next by thread: disk operations - mounting images I've created manually via Disk Utility
  • Index(es):
    • Date
    • Thread