unrecognized selector sent to instance #22

Closed
nmock opened this Issue May 1, 2012 · 3 comments

Projects

None yet

2 participants

@nmock
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
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
@gpambrozio
Owner

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

@nmock
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