Skip to content

Glossary: Swift Beyond the Basics

escaping closure

Also written: @escaping

A closure kept after the function it was passed to returns, for example stored in a property. Swift requires the parameter to be marked `@escaping`.

Where the book teaches it

Related terms

captureretain cycle