--- On Sun, 8/24/08, Phil <[EMAIL PROTECTED]> wrote:
<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?
Because I have an array containing dictionaries containing bools, not just
plain bools.
Using kCFBooleanTrue works, thanks to the person who gave that suggestion.
For the person who suggested [NSNumber numberWithBool:YES], I realise this will
generally "work" for most things, but it won't actually show up as bool in the
property list editor. It will be a 1 or 0.
_______________________________________________
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]