Bindings between nib files (again)
Bindings between nib files (again)
- Subject: Bindings between nib files (again)
- From: Dave Fernandes <email@hidden>
- Date: Thu, 30 Nov 2006 19:15:55 -0500
I am new to cocoa development, and I'm trying to understand the best
(least amount of code) way to communicate between views in one nib
file and controllers in another.
I have the simple and very standard task of getting the main menu
items to act on a document object in a multiple document app.
However, the menu and document are in different nib files.
The IBTips document explains how to do this using actions and the
first responder chain. My question is... Is there a cool/efficient/
cocoa-zen way to do this with bindings?
I've seen a couple postings on this, and it doesn't seem to be very
straightforward. Did Apple intend bindings only to be useful *within*
a nib file?
If the above problem can be solved with bindings, then I have hope
for the inverse problem... How do I get the menu state to update
based on my document controllers?
_______________________________________________
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:
This email sent to email@hidden