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 trialeric hughes
12,345 PointssetTintColor method objective c playlist builder code challenge answers (i figured it out)
here is the code for the .m file
import "ViewController.h"
@implementation ViewController
-
(void)viewDidLoad { [super viewDidLoad]; [self.timerButton setTitle:@"Start!" forState:UIControlStateNormal];
UIColor *redColor = [UIColor redColor]; [_timerButton setTintColor:[UIColor redColor]]; // Enter your code below!
}
@end
1 Answer
james white
78,399 PointsSince Eric mentioned this thread in connection with a another thread (that also dealt with this same challenge), it's only fair and proper of me to provide a cross reference link so these two are mutually interconnected:
Note: There are multiple challenges being dealt with in that other thread, so please scroll down towards the bottom of the thread for a discussion of how I found the solution to this particular challenge.
William Wylie-Modro
8,031 PointsWilliam Wylie-Modro
8,031 PointsWait..... Why did _timerButton work? Is it a block?