Re: [Array writeToFile:Path atomically:YES]
Re: [Array writeToFile:Path atomically:YES]
- Subject: Re: [Array writeToFile:Path atomically:YES]
- From: Allan Odgaard <email@hidden>
- Date: Wed, 12 May 2004 02:00:22 +0200
On 11. May 2004, at 23:20, David Blanton wrote:
Does this imply that the array columns are not being interpreted as
NSString* when in fact they are? Or, is there some Cocoa secret to
writing
an array to a file?
It could also mean that the file could not be created, e.g. because of
lack of permission or the containing directory.
You can do something like this to check which objects are in the array:
NSEnumerator* enumerator = [g_killListArray objectEnumerator];
while(id obj = [enumerator nextObject])
NSLog(@"%@", [obj class]);
Though IIRC writing out an array with non plist-items will just skip
those items.
_______________________________________________
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.