Depending on what you need to communicate and why, you might be able to use the 
NSNotificationCenter to meet your needs.

John

On Saturday Apr 3  4:22 PM, at 4:22 PM, Bharadwaj Parthasarathy wrote:

> 
> Hi,
> 
> I am currently working on porting an existing open source windows application 
> to mac OSX.
> I am fairly new to cocoa programming.
> 
> The application involves opening a new window for a specifying the parameters 
> of the simulation.
> The second window has about 20 textboxes and cannot be a modal window.
> I have the XIB files and I got the windows working together somehow, but 
> needs a lot of fixing.
> 
> If there are multiple windows in an application, how do I pass values and 
> messages between them?
> 
> Apple developer library does not have an example source code and many 
> internet sources point to
> /Developer/Examples/InterfaceBuilder/SimpleMultiWindow which is apparently 
> not present in leopard.
> If some one has this example, that would be great. Also, this example being 
> removed hints that there is a new and better way to do it?
> 
> I would appreciate if someone can pass on resources or sample code on working 
> with multiple windows in a cocoa application.
> Just to clarify, this is not a document based application. You can reach me 
> at barbi dot bruce at gmail
> 
> Thanks,
> B
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/johnbaldwincocoa%40gmail.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to