Passing data to a different nib
Passing data to a different nib
- Subject: Passing data to a different nib
- From: "Hough, Kenneth P" <email@hidden>
- Date: Fri, 24 Oct 2008 00:31:35 -0400
- Acceptlanguage: en-US
- Thread-topic: Passing data to a different nib
Hi
I'm pretty sure it's very obvious however I still cannot figure it out. I have done research and followed some sample code but just does not function for me. The following is my problem:
I have a window with three NSButtons. When one of the buttons are clicked, the previous window hides and a new window appears showing a custom made number pad (just an array of buttons). After typing in some random number I hit the save button to pass the inputted number to the previous window where the title of the button will change (once the save button is clicked the number pad window is dealloc and the previous window shows up again). However my problem is I am unable to pass that simple piece of info. I tried using global variables by incorporating simple C but that did not work. I also tried creating methods within the class that holds the variable with the inputed data that will return that data when called, however it will cause the following compiler error: Undeclared method getValue....etc. What would be the easiest way to do this. Thanks.
Best Regards,
Kenneth
Biology and Biotechnology Combined Major
SGA PPE Interim Senator
Class of 2012
http://kenmbp.res.wpi.net
cell: (413) 346-7298
rm: (508) 831-6836
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
www.emaildisclaimers.com_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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:
This email sent to email@hidden