#attributes

Found 3 articles tagged with #attributes

Swift function back deployment

Function back deployment, using new @backDeployed attribute in Swift 5.8, is a feature that allows library authors to make new APIs available on older platform versions.

Apr 01, 2023#swift#attributes

Swift @available, #available or #unavailable

To handle API changes, use @available attribute to annotate availability of new declarations, and use #available or #unavailable to conditionalize.

Common Swift Attributes

You specify an attribute by writing the @ symbol followed by the attribute’s name and any arguments that the attribute accepts.

Jul 19, 2022#swift#attributes