Both startCount: and stopCount: take UIButton as their parameter, but I'm confused about how the second is called.
If startCount: is called by the button you want to disable, you can simply write this:
sender.enabled = NO;
But stopCount: difficult, because it is clear that the button cannot be called, since it was disabled minutes ago. If stopCount: is called from another button (I suppose it should be), you must save the link to the first button to enable it again. Then you can:
self.disabledButton.enabled = YES;
source share