Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJessica Fleming
404 PointsIBAction Challenge; ButtonPressed
I am trying to do the create my own IBAction using ButtonPressed so I can move on to the next video; but, I am stuck on this challenged. I have tried NSLog(@"ButtonPressed"); -(IBAction) buttonPressed; @property(strong, nonatomic) IBOutlet UILabel *predictionlabel);. None of these are letting me pass, keeps sayingBummer. What am I missing?
Thanks
2 Answers
Daniel Brooking
5,164 PointsNot sure if it was a typo on your question here, but it looks like there is a ")" at the end of predicitonlabel. That shouldn't be there and would cause it to fail. If that's not it, I'm not sure - the rest looks good.
Jessica Fleming
404 PointsI figured out the problem. -(IBAction)buttonPressed then curly brackets