I have an a button that has an outlet to a method in my controller.m file:
@implementation EMHomepageController
- (IBAction)firstButtonClick:(id)sender {
NSLog(@"task label text = %@", self.taskLabel.text);
}
However, when I click the button, my file opens and xcode highlights my NSLog(@"task label text = %@", self.taskLabel.text);
line in green with a extra green box with text: Thread 1: breakpoint 1:1
. Also, the button (in the simulator) becomes faded and unclickable. Did I do something wrong?
I'm just trying to print the text of my label in the console. Thanks for the help.