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

iOS Build a Simple iPhone App with Swift 2.0 View Controllers and Views Introduction to View Controllers

Durus Mihai
Durus Mihai
2,660 Points

What's wrong with the "funfactlabel.text"?

I can't figure this out.. i followed all the steps in the video. Thanks guy! https://gyazo.com/db652aadb719f80d5197d4c76e544e66

1 Answer

David Papandrew
David Papandrew
8,386 Points

Hard to say what is wrong from the screenshot. I did see your other question related to this issue. Did you delete a UILabel and create a new one? If you did, it's possible you have a reference to the deleted IBOutlet which is causing the error. You can go to the project storyboard and look at the "document outline" (or the storyboard itself) and right click the UITextLabel. You might see a referencing outlet that needs to be deleted.