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.
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.