What is the difference and purpose of auto and escaping closure in Swift?

Viewed 1144

I am looking for some of the difference/purpose of autoclosure and escaping closure in Swift. I know well that an escaping closure is something we want to execute after the function has been returned but I didn't get the concept of an autoclosure.

2 Answers
Related