first-responder
Setting UITextView's editable to NO always resigns FirstResponder. Can be avoided?
My app basically lets you send a piece of text. When the user taps send, I would like to disable the text view which contains the text so the user can\'t edit it anymore as the text is being sent. It[详细]
2023-03-14 10:15 分类:问答On shake... iOS
So I have an IBAction yesNo that I want to be ran on a shake event. Not all too sure why this is not working. Have followed all the documentation.[详细]
2023-03-13 03:17 分类:问答Objective C: Can I set a subview to be firstResponder?
I have a situation whereby I am adding 开发者_运维知识库a view from another viewcontroller to an existing viewcontroller. For example:[详细]
2023-03-11 08:43 分类:问答UITextView in a UITableViewCell: first responder problem
I have a UITextView in a UITableViewCell which grows together with it. Using [myTableView beginUpdates];[详细]
2023-03-10 14:54 分类:问答IOS: iPad keyboard always visible?
In my application, I want the keyboard to always be visible in a view. I can do it with a textfield in this way:[详细]
2023-03-09 23:36 分类:问答Change default insertTab: action in NSSearchfield
I have a view with a nssearchfield a nstableview and a nsmatrix with three radiobuttons. Using delegates i change the selected radiobutton when the searchfield is the firstresponder and the user press[详细]
2023-03-09 02:55 分类:问答iOS unit test: How to set/update/examine firstResponder?
How do you write first responder unit tests? I\'m trying to write a test to confirm that a method advances focus to the next text field. controller is a descendant of UIViewController. But this explo[详细]
2023-03-07 21:59 分类:问答does a modalviewcontroller resignFirstResponder of the parentviews subviews?
in order to recognize if a user jumps from editing one textField to another by just touching another one instead of hitting the return button i implemented a method which gets called with the event \"[详细]
2023-03-06 08:29 分类:问答Best way to wire up NSMenuItems from Interface Builder?
So I\'ve spent some time checking out CocoaDev, reading the Cocoa docs on NSMenuItems, and doing some tests in Interface Builder.[详细]
2023-03-03 05:36 分类:问答cocoa-touch: How to find out which object was touched
Sorry, but a very basic beginner\'s question: Imagine having an UITextField and an UITextView. Then, imagine a transparent UIView placed above these TextField/View, so they won\'t respond if you touch[详细]
2023-02-26 20:16 分类:问答