How i can handle "prefernces" mainmenu action? In which controller must handle this event? And who must create preference window? Thanks.
Any object in the responder chain can handle it. I normally add my app delegate to the responder chain and deal with it there. As to who creates the window: your app somewhere. Where is up to you (I normally create a NSWindowController subclass called PreferencesController)
And the same problem with PreferncesController and his xib. I set file owner to PreferencesController and can't get access to my actions and outlets(.
And yet one. This project was started by other man. In mainmenu xib showed many contrlloer every of them highlighted by blue-bounded-rect then i draging on them action line from menu item, but my controller - PreferencesController not. Why?
What i do wrong what after xib and controller class creation, name of controller class didn't appeared in dropdown list named class in Object Identity in Interface Builder?
I have no idea. You are either not reading what I type or intentionally ignoring it. Either way it's not helping you so stop, read what I've typed and do what I say.
You do not need to connect anything in Interface Builder. The menu item will send message via the responder chain. If the first responder does not handle it then it gets passed to the next responder and so on. So you simply need to ensure that whatever object you want to handle the message is in the responder chain.
As I said I use the object that I set as the application delegate for this.
I suggest you stop writing code/messing around in Interface Builder and read the http://developer.apple.com/mac/libr...re.html#//apple_ref/doc/uid/10000060i-CH3-SW2