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 Swift Closures Closures in iOS Recap: Closures

A combination of a function and an environment of captured variables is called a

Plz help me to clear out challenge it is showing wrong answer

3 Answers

Jhoan Arango
Jhoan Arango
14,575 Points

Hello :

A combination of a function and an environment of captured variables is called a Closure.

I hate giving test answers like this :P lol

But I do have a question for you. Are you clear on what a closure is ? Or what this question means? If you need help I can try and explain it to you in a different way, just let the know :) This way you can move on understanding a very important subject in swift.

Nikoloz Garibashvili
Nikoloz Garibashvili
2,730 Points

the problem is, i wrote closures and it was a mistake, i wasn't wrong but i had the s in the and, that's a big problem to me because i've been having same type of mistakes for another quizzes and it's getting annoying

Jhoan Arango
Jhoan Arango
14,575 Points

Hello:

I can try and help you understand a bit about closures if you like. Please post a question about what you don’t understand and we can go from there.

I have still little bit doubts in Closure and getting errors in projects also when i doing it in xcode beta / swift 2.0 can somebody give me his /her skype/twitter/hangouts/facetime account name to help me in them

Jhoan Arango
Jhoan Arango
14,575 Points

Hello:

I can try and help you understand a bit about closures if you like. Please post a question about what you don’t understand and we can go from there.