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 trialMargarita Garmutė
2,136 PointsAfter pressing the button - nothing changes. App doesn't work.
After trying to connect the button, button doesn't work anymore. Tried to look connections, everything is good. In project where are no bugs.
Thanks for help. Margarita
3 Answers
Jonathan Ruiz
2,998 PointsHi Margarita were you doing the facts app with swift 3 ? What challenge or project were you referring to ? If you are talking about the fun facts app make sure you link your button as an IBAction function not an IBOutlet.
Margarita Garmutė
2,136 PointsHi Jonathan, thank you very much for response. Yes thats the same FunFact app.
I tried to do IBAction but it's only giving more errors in the code and in video is clearly said to make IBOutlet not action.
Jonathan Ruiz
2,998 Pointscould you post a code snippet ?