Top "Unrecognized-selector" questions

"Unrecognized selector" is an exception in Cocoa and Cocoa Touch, thrown when an object receives a message to which it cannot respond.

"unrecognized selector sent to instance" error in Objective-C

I created a button and added an action for it, but as soon as it invoked, I got this error: …

objective-c selector unrecognized-selector
Unrecognized Selector Sent to Instance [NSCFString subarrayWithRange:]

I have the following code which is producing this error. I cannot understand why the subarrayWithRange message is being sent …

objective-c ios4 nsarray unrecognized-selector
Using global variables in Objective-C

First of all, I tried almost all the solutions given in stackoverflow but I didn't succeed in implement global vars, …

ios objective-c unrecognized-selector
Unrecognized selector sent to instance while archiving data (NSCoding)

-(void)transformObjects:(NSMutableArray*)array key:(NSString*)key { NSMutableArray* archiveArray = [[NSMutableArray alloc]initWithCapacity:array.count]; for (Furniture *furniture in array) { // …

ios nsdata unrecognized-selector
unrecognized selector sent to instance (iOS)

Possible Duplicate: unrecognized selector sent to instance Well... like so many others, I have gotten a "unrecognized selector sent to …

ios unrecognized-selector
NSInvalidArgumentException "Unrecognized selector sent to instance" (using MPMoviePlayerController)

Well, I have a TableView in a RootViewController with a DetailViewController for the display of the information of the single …

ios mpmovieplayercontroller navigationcontroller unrecognized-selector
[__NSArrayM objectForKeyedSubscript:]: unrecognized selector sent to instance - source code and screenshot attached

At GitHub I have a simple iPhone app, which fetches user information (by using OAuth) from the social network Mail.…

ios objective-c nsmutablearray unrecognized-selector
Add image to UIAlertController

I want to add an image to UIAlertController. Image does not need to be on a button, just presented in …

ios swift uialertcontroller unrecognized-selector
"unrecognized selector sent to class" when calling category method from a library

Problem This question may seem a bit long, but I try to give as much information as possible, since I …

objective-c cocoa extension-methods foundation unrecognized-selector
Why am I getting unrecognized selector sent to class?

I have been going through all stack overflow trying to solve this but none of the solutions work. class ToastView: …

ios swift unrecognized-selector