Touching my _follow button, the ^ block for the _learn button is triggered. It looks as if it is firing the wrong block because it is an anonymous or unnamed block. I tried to name it but can't seem to get it right. Does anyone else have this problem? Or know the syntax to properly name the blocks so that my buttons don't get confused?
_learn= [CCMenuItemImage itemFromNormalImage: _learnButtonPath selectedImage: _learnButtonPath disabledImage:_learnButtonPath block:^(id sender)
{
NSLog(@"Learn Button has been touched!");
...
}
_follow= [CCMenuItemImage itemFromNormalImage: _onFollowButtonPath selectedImage: _onFollowButtonPath disabledImage:_offFollowButtonPath block:^(id sender)
{
NSLog(@"FollowButton has been touched!");
...
}