views:

27

answers:

1

Hi,

how can I choose the view which is active when I start my app?
I searched in the Interface Builder but found nothing.
Perhaps there is a chance like [view setActive]?

so long

+2  A: 

Set the view as the value of the window's initialFirstResponder outlet. When the window is ordered in the first time, the window will make whatever responder is in that outlet the first responder, which is how you give a responder (such as a view) focus.

Peter Hosey
For the blindfolded (like me): rightclick on window in the docview -> drag the outlet `initialFirstResponder` to the item you want to be on focus.
lueda