[MacRuby-devel] Focus window from second XIB

Robert Payne robertpayne at me.com
Tue Mar 1 14:12:19 PST 2011


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 at 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 at elevated-dev.com
> http://www.elevated-dev.com/
> (303) 722-0567 voice
> 
> 
> 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


More information about the MacRuby-devel mailing list