Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

writeToFile method of NSArray



Hi,
In my Cocoa/Objective-C application, I have a NSArray of NSString objects.
Whenever I'm trying to dump the content of the NSArray into a text file using
its writeToFile method, the text file is getting created with the XML format.
Can I simply dump the content line by line (instead of XML format)?

For example, the content of the text file needs to be like the following

This is the first string of NSArray
This is the second string of NSArray
This is the third string of NSArray
...

TIA,
Parichay
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.