change (highlight? selected? focus?) on a NSTextField cocoa mac
Since i really dont know what its called in cocoa it's kind of hard to google.
The thing i want to do is when a view receives a notification lets say ne开发者_StackOverflow社区xtInputField:
i want a special NSTextField to be selected as the one active, and the user should be able to type instantly.
How is this done? What method should i call?
Check out NSWindow makeFirstResponder:
精彩评论