Questions tagged [first-responder]

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.

409 questions
-1
votes
3 answers

Overriding Menus in Swift with Storyboard

I am writing a Swift Application in xCode and have no problem creating a new menuitem and wiring it up so that the sent action responds to a function in my ViewController. Where I am having difficulty is if I try to override one of the existing…
Stewart Lynch
  • 875
  • 9
  • 26
-1
votes
1 answer

IOS program crashes when I touch outside of keypad

When I touch on a text field called tv_Name, it brings up the keypad but then, when I touch outside the keypad, the program crashes. In ViewController.h, I have declared it thus: @property (weak, nonatomic) IBOutlet UITextField *tv_Name; and this…
lost
  • 81
  • 1
  • 2
  • 8
-2
votes
1 answer

On hiding keyboard after edit , UISearchbar hides itself?

I have presented a screen using navigation controller and in that screen I have a search bar , which I have made as first responder in viewWillAppear() . The problem is that I want to hide keyboard when done button is clicked or cancel in searchBar…
-2
votes
1 answer

didSelectCellAtIndexPath not called

I know there are a lot of relevant post on this and I have tried all of the ones I can find and unfortunately the problem still persists. So I have a tableView inside of an UIViewController which is populated by 2 custom cells, one has got an…
1 2 3
27
28