communicating between nibs
communicating between nibs
- Subject: communicating between nibs
- From: SRD <email@hidden>
- Date: Sun, 8 Nov 2009 01:16:34 -0600
I have a document based application where I have an outlet in
controllerA of A.nib (which is really MyDocument) and I'd like to
reference controllerB of B.nib. controllerB is subclassed from
NSWindowController where it will either be a sheet or just a window.
I'm using xcode 3.2.1. What I'm trying to do is get controllerA send a
message to controllerB to bring up a window.
// from within controllerA
[controllerB do:showMyWindow];
I've read this link but it's not helping me much …
http://www.cocoadev.com/index.pl?MakingNibsTalkToEachOther
Am I doing this correctly? Can anyone help out here?
_______________________________________________
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