Hi I have next event which binds to check box:
On debug, this code is hangs(at first line). Why? How to verify checkbox control it is checked?
Thanks,
Sergio
Code:
- (IBAction)clickCheckBox:(id)sender
{
if([sender isSelected] == YES)
{
[position setStringValue: @"isSelected"];
_isChecked = YES;
}
else
{
[position setStringValue: @"notSelected"];
_isChecked = NO;
}
}
Thanks,
Sergio