jverkoey/nimbus — Issue #167: NIButtonFormElement: Crash when accessing the selector's sender
Author: tilowestermann
Created: 2012-03-01 10:38:46+00:00
State: open

Hey everyone!

I have a NIButtonFormelement like this one:

NIButtonFormElement *closePoll = [NIButtonFormElement buttonElementWithID:0 labelText:@"someText" tappedTarget:self tappedSelector:@selector(someAction:)];

and the appropriate method

- (void)someAction:(id)sender {
NSLog(@"Sender: %@",sender); // crash
}

At this point, the app crashed with an EXC_BAD_ACCESS - any idea how to solve this issue?

Thanks in advance!