[MacRuby-devel] Focus window from second XIB

Scott Ribe scott_ribe at killerbytes.com
Tue Mar 1 14:41:05 PST 2011


On Mar 1, 2011, at 3:31 PM, Sven Schwyn wrote:

> Turns out that it works if I hook the window outlet to File's Owner instead of the Preferences Controller delegate. (The amount of at first sight reasonnable ways to do things can be confusing at times.)

If the file's owner is the controller, you should not be adding a controller object to the nib, because then you will wind up with two of them.

-- 
Scott Ribe
scott_ribe at elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice






More information about the MacRuby-devel mailing list