> 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.

Makes sense. And reading a little on File's Owner, it seems to be the right 
choice - at least for other than the MainMenu.xib.

Setting up a separate NSObject as delegate is how it's done in the "MacRuby in 
Action" book for MainMenu.xib. Apparently it doesn't really work for other XIBs 
though. Is there any particular advantage a separate delegate has compared to 
File's Owner? 
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to