unrecognized selector sent to instance #22

nmock opened this Issue May 1, 2012 · 3 comments


None yet

2 participants

nmock commented May 1, 2012

I am getting the following error:

[__NSArrayM buttonClicked:]: unrecognized selector sent to instance

Is there any reason as to why this would be happening? I checked to see where the buttonClicked selector was being attached and the only place it seemed to be was on a button.

nmock commented May 1, 2012

I'm showing the BlockAlertView as such:

BlockAlertView *alert = [BlockAlertView alertWithTitle:@"Unfollow" message:@"Message"];

[alert setCancelButtonWithTitle:@"No" block:nil];
[alert setDestructiveButtonWithTitle:@"Yes" block:^{
    //unfollow action 

[alert show];
@nmock nmock closed this May 1, 2012

I can see you closed the issue. Can you share what the problem was? It looks like a memory management issue to me.

nmock commented May 1, 2012

Yup, I was trying to use binarydev's ARC compliant branch in my project and had this issue. I ended up using the master and adding the non-ARC compatible flags and everything worked fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment