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 trialLinus Karlsson
7,402 PointsPrint input from TextField?
I feel so stupid having to ask this, but how can I simply print some user input from the TextField I added in Main.storyboard to the console in Xcode?
And perhaps more importantly, how can I find out this information all on my own? It's so difficult to go from video and text tutorials to write this stuff all on your own.
Any help appreciated!
1 Answer
Clark Reilly
6,204 PointsNormally you should be able to use print(whatever variable you stored the input in) and whatever you input will appear in the bottom bar. Don't know if that's exactly what you're looking for though.
As for looking the information up, stackoverflow is usually a good resource afaik. Otherwise a plain old google search often does the trick and will lead you to people that probably know more than me.
Linus Karlsson
7,402 PointsLinus Karlsson
7,402 PointsThank you so much!