MainMenu.nib - MyDocument.nib bindings question...
MainMenu.nib - MyDocument.nib bindings question...
- Subject: MainMenu.nib - MyDocument.nib bindings question...
- From: Kam Dahin <email@hidden>
- Date: Wed, 23 Aug 2006 14:35:15 -0700
Hey everyone,
I know that this is probably a common question, but I am a newbie and
need some hand holding. My searching on this subject has yielded
some fruitful results, but I am still having trouble getting bindings
working between my MyDocument.nib and the MainMenu.nib of my Document
based cocoa app.
Here is what I am trying to do:
I have a main window in my MyDocument.nib with a NSTableView, that
gets it's contents from a NSArrayController and is working fine.
I have a NSPanel that is a triggered from a MenuItem in my
MainMenu.nib and I would like the panel to display information about
the currently selected row in the NSTableView. I would like to bind
the fields in my NSPanel to the NSArrayController that I am using for
my TableView. Can anyone point me at a good tutorial, or example of
how to make this work using bindings? It seems like a simple thing
to do, but I haven't been able to find a good example of how to make
this happen.
i have "Cocoa Programming for OSX (2nd Edition)" by Aaron Hillegas
and have gone through the examples of adding multiple nibs to my
project, but he doesn't go over how to use existing controllers in
other Nibs...
Any help would be much appreciated
Regards,
k
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden