Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (IBAction)capitalDButtonTwo:(id)sender {
- if ([capitalDResultLabelTwo text] == @"+") {
- [capitalDResultLabelTwo setText:@"0"];
- } else {
- [capitalDResultLabelTwo setText:@"+"];
- }
- }
- - (IBAction)capitalDButtonTwo:(id)sender {
- if ([[capitalDResultLabelTwo text] isEqualToString:@"+"]) {
- [capitalDResultLabelTwo setText:@"0"];
- } else {
- [capitalDResultLabelTwo setText:@"+"];
- }
- }
Add Comment
Please, Sign In to add comment