• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings between nib files (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings between nib files (again)
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Strange compile time error message...
  • Next by Date: Porno spam, from this mailing list
  • Previous by thread: Strange compile time error message...
  • Next by thread: Re: Bindings between nib files (again)
  • Index(es):
    • Date
    • Thread