Re: Writing out a BOOL value to a .plist
Re: Writing out a BOOL value to a .plist
- Subject: Re: Writing out a BOOL value to a .plist
- From: Scott Mitchell <email@hidden>
- Date: Fri, 26 May 2006 14:40:49 -0600
Thanks that works. I don't know why I did not see that method. I know
I have used this before.
Thanks,
Scott Mitchell
Senior Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com
On May 26, 2006, at 1:43 PM, Andrei Tchijov wrote:
Try
[ dictInfo setObject: [ NSNumber numberWithBool: YES ] forKey:
BBDM_gadget ]
On May 26, 2006, at 3:20 PM, Scott Mitchell wrote:
I am trying to write out a BOOL value to a .plist file. I thought
at first just making it a NSString. bUt that does not work
correctly. It has to be a BOOL(Boolean) value. I can not seem to
figure this out. I thought I had done it once but can't seem to
figure it out again.
Here is what I have so far:
[dictInfo setObject:[NSStirng stringWithString:@"YES"]
forKey:BBDM_gadget];
Thanks in advance for nay help.
Thanks,
Scott Mitchell
Senior Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden