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 trialDevin Tripp
3,826 PointsIBOutlet swift challenge
So I'm pretty sure this is what the challenge is asking for but I'm getting a bummer when i check it can someone tell me whats up
class ViewController: UIViewController {
@IBOutlet weak var textLable: UILable!
override func viewDidLoad() {
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
// Dispose of any resources that can be recreated
}
}
3 Answers
Tassia Castro
iOS Development Techdegree Student 9,170 PointsHey Devin,
It's just a typo. You wrote Lable instead of Label.
class ViewController: UIViewController {
@IBOutlet weak var textLabel: UILabel!
override func viewDidLoad() {
// Do any additional setup after loading the view, typically from a nib.
}
override func didReceiveMemoryWarning() {
// Dispose of any resources that can be recreated
}
}
Michael Leatherbury
2,980 PointsWhat does the error say?
Devin Tripp
3,826 PointsI got back home and just clicked recheck work and it worked i don't know what the issue was before i didn't change anything just refreshed the page
Devin Tripp
3,826 PointsDevin Tripp
3,826 PointsI realized that and changed it right after i posted this. After I changed it it still gave me the same error
Tassia Castro
iOS Development Techdegree Student 9,170 PointsTassia Castro
iOS Development Techdegree Student 9,170 PointsReally? Did you change both textLabel and UILabel?
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsThis worked for me. Devin Tripp are you still getting an error message?