Hi all,

I want to transfer data from one window to another, and cannot find a decent way to do that (if possible at all). Note that I am a cocoa beginner coming from winforms.

The use case is :

1. I open a form (loadnib) with controller Form1Controller.
2. From within the controller, I open a second form (loadnib) with controller Form2Controller.
3. I want to pass custom data to Form2 during this creation/form-loading.

How can I accomplish that ? In winforms, I would just do (from within Form1) :

...
Form2 f = new Form2();
f.customData = "mycustomdata";
...

Seems so simple...

Thanks in advance,
Miguel


--


*Miguel De Buf*
Chief Technology Officer
Aventiv NV, creators of NomaDesk® <http://www.NomaDesk.com/>
Tel. +32 9 233 68 86 (/Belgium/)
Fax +32 9 240 10 39 (/Belgium/)
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

Confidentiality Notice:
/This message, together with any attachments, is intended only for the use of the individual or entity to which it is addressed. It may contain information that is confidential and prohibited from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination or copying of this message or any attachment is strictly prohibited. If you have received this item in error, please notify the original sender and destroy this item, along with any attachments./


Reply via email to