Re: [MacRuby-devel] Focus window from second XIB
On Mar 1, 2011, at 9:37 PM, Scott Rybe wrote:
Is the window hooked up to its controller? (Which is probably first responder?)
Well, I've dragged the window outlet of the delegate "Preferences Controller" onto the window object and changed the File's Owner class to PreferencesController.
On Mar 1, 2011, at 2:46 PM, Sven Schwyn wrote:
On Mar 1, 2011, at 9:37 PM, Scott Rybe wrote:
Is the window hooked up to its controller? (Which is probably first responder?)
Well, I've dragged the window outlet of the delegate "Preferences Controller" onto the window object and changed the File's Owner class to PreferencesController.
Sounds correct (note in my response "first responder" should have been "file's owner"). -- Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice
You probably need to load it differently PreferencesController.alloc.initWithWindowNibNamed.... See apples documentation to make sure you're using the correct API. -Robert Sent from my iPhone On Mar 2, 2011, at 10:50 AM, Scott Ribe <scott_ribe@killerbytes.com> wrote:
On Mar 1, 2011, at 2:46 PM, Sven Schwyn wrote:
On Mar 1, 2011, at 9:37 PM, Scott Rybe wrote:
Is the window hooked up to its controller? (Which is probably first responder?)
Well, I've dragged the window outlet of the delegate "Preferences Controller" onto the window object and changed the File's Owner class to PreferencesController.
Sounds correct (note in my response "first responder" should have been "file's owner").
-- Scott Ribe scott_ribe@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Robert Payne
-
Scott Ribe
-
Sven Schwyn