RE: [Array writeToFile:Path atomically:YES]
RE: [Array writeToFile:Path atomically:YES]
- Subject: RE: [Array writeToFile:Path atomically:YES]
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Tue, 11 May 2004 17:11:14 -0400
>
Bool OK = [Array writeToFile:Path atomically:YES];
>
>
All columns of Array are NSString*. I understand from the docs that the
>
above method will write those strings as a property list which I can then
>
use to initialize a new array.
>
>
But, OK always returns false indicating that all columns of the array are
>
not NSString*.
>
>
Can anyone shed some light on this?
Either Array does not contain what you think it does, or Path is not a valid
path. Also, "Bool" is not the same as "BOOL".
BTW, most people uppercase class names and lowercase instance (and other)
variables.
Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.