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 trial

Daniel Mugandiri
2,578 PointsLet’s assume we have an IBOutlet of type UIButton, named timerButton, as a property in the ViewController.swift file. In
Let’s assume we have an IBOutlet of type UIButton, named timerButton, as a property in the ViewController.swift file. In the viewDidLoad method, set the title of the button to “Start” for the state configuration Normal. Hint: Check out the UIButton class reference
1 Answer

Joshua C
51,978 PointstimerButton.setTitle("Start", .Normal)
setTitle is a method of UIButton. First parameter of the setTitle method is the title of the button and second is the state. Most of the times, you will be using .Normal, .Disabled, or .Selected for state.
Mitchell Henderson
iOS Development Techdegree Student 4,058 PointsMitchell Henderson
iOS Development Techdegree Student 4,058 PointsAwesome thank you Brian!