Mailing Lists: Apple Mailing Lists

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

storing data from NSPanel



I created a panel connected to the drop down "New" menu item  in the Main Nib Men.  

I placed NSTexfields in the panel and tried to capture user-entered data from the fields and transfer is to a data object in the main nib file.  

A controller object in the main nib file allocates the controller for the panel and, in the panel's nib menu, file's owner is the place holder (?) for the contoller that is allocated. 

When I try to make connections between File's Owner (in the panel's nib window) and the data object (in the main nib window), they disappear.  I am unable to get the information collected from the textfields in the panel into the data object that I must eventually archive.


If it helps, here'a general description of the project from the "outside":

 I am programming an experiment with a  repetitiive task that generates arrays of data which I have sucessfully connected to the data object.  Before the user begins the repetitive tasks, I need to collect information about the user and store it in the data object along with the trial arrays. I was trying to use the panel to collect the infromation about the user.  I would like for the person running the experiment to be able to enter the user data, close that window and the allow a user/ research participant to begin the experimental task that generates the arrays.  Have I chosen the correct approach?  
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



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.