Blocks
suggest changeIntroduction
From the Swift documentation:
A closure escapes a function when it is passed as an argument and is called after the function returns. When you declare a function that takes a closure parameter, write @escaping before the parameter’s type to indicate that the closure is allowed to escape.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents