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 trialJordan Walters
Courses Plus Student 1,161 Pointsliterally cannot figure this one out no matter what
whats the answer hahahahahahahaha
3 Answers
Vittorio Somaschini
33,371 PointsHello Jordan.
The task consists into 2 parts basically, first part:
You want it to return a string, so just add -> String right after func greeting(person: String)
This is the way to have it return a string.
Second part is easy, just change println with return and remove the set of ().
Good luck
Jordan Walters
Courses Plus Student 1,161 PointsAwesome! Can't wait to learn more about all of this. Very intrigued and exciting.
Hopefully you'll see me on the NYT with the next best app!
Thank you.
Jordan Walters
Courses Plus Student 1,161 PointsVittorio,
Thank you. I ended up figuring it out before I read this.
Do all of these lessons end up making sense when applying to real world applications with UI's?
Also, at the end of all the iOS courses what kind of apps will I be limited to making? Or can I make something as good as snapchat, twitter, Facebook, etc.?
Not sure if you know these answers but they could be useful in figuring out if I need to finish these courses then move onto another type of education for coding or if this education alone is enough.
Thanks,
Jordan W.
Vittorio Somaschini
33,371 PointsWell you can make snapchat at least because there is a dedicated section to that, so if you just follow it you are on your way..
:D
For more advanced stuff I believe the studies are endless more or less.. But swift is very nice, pretty intuitive too.