Accessing objects on one nib file from another nib file
Posted
by ASN
on Stack Overflow
See other posts from Stack Overflow
or by ASN
Published on 2010-06-18T07:12:14Z
Indexed on
2010/06/18
7:33 UTC
Read the original article
Hit count: 316
I have two nib files - Main.nib and Preference.nib In Main.nib file I have an instance of NSView class.Its window has a NSPopUpButton which on clicking shows a menu .In the menu I have show Preferences menu item. Menu item on clicking shows a preferences panel containing a color well item. On clicking color well a color panel is displayed to choose the color. The problem is how to apply that color to main application window.
My preference panel window is in Preference.nib file. So problem is accessing NSView from another Nib Window.
Is there a way so that I can make connection between preference panel and my main application window(NSView)
© Stack Overflow or respective owner