The Frontier logo The Frontier logo
Mark Dalrymple

Swift Attributes

Mark Dalrymple | Mar 05, 2018

What are Swift Attributes like @IBAction @escaping @objc and @autoclosure?

You've seen these things in your code. @IBAction. @escaping. @objc. @autoclosure. But what are they? How do they differ from other Swift language features? If you want to understand what is going on under the hood, to know the implications of your code, follow along with Mark Dalrymple in this dive into Swift Attributes.

Apple Swift Language on GitHub
The Swift Programming Language (Swift 4.1): Attributes

tag icon