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

Re: boolean into NSDictionary


  • Subject: Re: boolean into NSDictionary
  • From: j o a r <email@hidden>
  • Date: Mon, 2 Jul 2001 22:30:59 +0200

On mendag, juli 2, 2001, at 08:07 , Andreas Schweizer wrote:

does anybody know what class to use when you want to store boolean values
into an NSMutableDictionary? I searched for a class like NSBoolean but
couldn't find one.

Have a look at NSNumber, it does exactly that!

example:

NSNumber *myWrappedBool = [NSNumber numberWithBool:YES];

Regards,

j o a r


References: 
 >boolean into NSDictionary (From: Andreas Schweizer <email@hidden>)

  • Prev by Date: Re: AppKit source available as reference?
  • Next by Date: Re: [HELP] How to change Desktop background pic in OSX from Cocoa-Java?
  • Previous by thread: Re: boolean into NSDictionary
  • Next by thread: Re: boolean into NSDictionary
  • Index(es):
    • Date
    • Thread