Top "First-responder" questions

In Apple Cocoa programing, the first responder is the first object in a chain of NSResponder subclasses to be called upon receiving an even such as keypress, mouseclick, etc.

How to detect when NSTextField has the focus or is it's content selected cocoa

I have a NSTextField inside of a NSTableCellView, and I want an event which informs me when my NSTextField has …

macos cocoa focus nstextfield first-responder
Dismissing the First Responder/Keyboard with multiple Textfields

Like seriously after going through this... Easy way to dismiss keyboard? ... I have multiple TextFields and a few TextViews. Is …

ios objective-c iphone uitextfield first-responder
How to Get Current First Responder from Window Controller in Cocoa?

I would like to find the first responder view in a window. To do this, I would like to implement …

cocoa nsview categories first-responder
How to "transfer" first responder from one UIView to another?

I have a UIView subclass (CustomView for purposes of this question) that has its own handling of all touches events (…

iphone uiview uibutton uitouch first-responder
iPhone first responders

I am confused about the iPhone responder chain. Specifically, in the iPhone event handling guide http://developer.apple.com/iPhone/…

iphone first-responder
UITextField resign first responder iOS4

I have a simple piece of code that works on every system except iOS4. It's about resigning first responder for …

iphone uitextfield ios4 first-responder
Custom inputView for UITextField , how do I direct input back to the text field?

I have set a custom inputView to my UITextField. I need a way to display the data selected in my …

ios cocoa-touch uitextfield first-responder inputview
Problems setting FirstResponder in Cocoa Mac OSX

Im working on a tiny app just to learn cocoa, and Im having a hard time with setting FirstResponder to …

objective-c cocoa nstextfield first-responder becomefirstresponder
UIVIew endEditing:YES doesnt hide the keyboard

I have a UIVIew which is a subview and it contains several UITextFields. One of these textfields (which is for …

objective-c ios ios5 uitextfield first-responder