Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Saving Arrays in Cocoa

Saving Arrays in Cocoa
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2002
Status: Offline
Reply With Quote
Apr 8, 2003, 09:16 PM
 
In my (document based) application, I have a user input 2 lists of words. I want to save these two arrays in one file. What do I have to do in the - (NSData *)dataRepresentationOfType:(NSString *)aType method?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Apr 8, 2003, 11:22 PM
 
There was a discussion very similar to this just yesterday.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Banned
Join Date: Apr 2002
Location: -
Status: Offline
Reply With Quote
Apr 11, 2003, 07:57 AM
 
well you merge the two arrays and call NSArray's save method?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2