• 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: CFBoolean
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFBoolean


  • Subject: Re: CFBoolean
  • From: Phil <email@hidden>
  • Date: Mon, 25 Aug 2008 13:54:58 +1200

On Mon, Aug 25, 2008 at 1:33 PM, Chris Idou <email@hidden> wrote:
> How do I create a property in the user defaults of type boolean?
>
> Internally it seems to use a NSCFBoolean which is an undocumented type. If I make the assumption it is the same as a CFBoolean, and overlooking the oddness of having to fall back to Carbon for such a fundamental thing, the documentation of CFBoolean doesn't seem to provide a documented method for creating one.
>

There's a table of Cocoa/CoreFoundation types and their XML property
list representations at:
<http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Articles/XMLPListsConcept.html>

I'm curious as to why you need a boolean, rather than just what
-setBool:forKey: gives you?

Phil
_______________________________________________

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

  • Follow-Ups:
    • Re: CFBoolean
      • From: Chris Idou <email@hidden>
References: 
 >CFBoolean (From: Chris Idou <email@hidden>)

  • Prev by Date: Re: CFBoolean
  • Next by Date: Re: CFBoolean
  • Previous by thread: Re: CFBoolean
  • Next by thread: Re: CFBoolean
  • Index(es):
    • Date
    • Thread