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 NSTextField contents into arrays in the prefs

saving NSTextField contents into arrays in the prefs
Thread Tools
Forum Regular
Join Date: Jan 2002
Location: Hungary
Status: Offline
Reply With Quote
Feb 6, 2002, 06:47 PM
 
Hi everyone!

I'm currently working on an app that takes in different kinds of user data, stores them in arrays and saves them as user prefs. Everything goes fine with input fields, but if I include the contents of an NSTextField, the first time the app saves the contents. If I want to add a second record, it saves it too, but changes the record before it to the same as the last one. And so on, and so on. If I quit the app, reload it and do the same thing again, it won't change the previous ones, only the ones since the last session started.

Is there a different way of saving NSTextField content from saving input field content?

nothing is when everything is alright
stupidfish23@mac.com ICQ: 153647416
     
   
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 12:39 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