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

Brandon Davis
Brandon Davis
2,853 Points

Issues with question on Recap: Closures Quiz

Hello, I am having an issue with the question on the Recap: Closures quiz that states: "To simplify a closure we can use a ____ as a named alias of an existing type".

I have entered in answers varying in:
closure, typealias, alternative name, closure shorthand syntax, function, higher order function, keyword, shorthand, shorthand rule, shorthand syntax, shorthand typealias, shorthand declaration , typealias keyword

1 Answer

Iván Jesús Fanjul Cosént
Iván Jesús Fanjul Cosént
3,882 Points

Hi Brandon Davis,

I just tried "typealias" as my answer and it worked. Pleasse try it again, seems something didn't work when You tried it.

Hope this helps

Brandon Davis
Brandon Davis
2,853 Points

Thank you so much! I was driving myself insane trying to figure out why it was not taking my answer! You saved the day Iván!

Thank you!!