Swift の Attribute

来源:互联网 发布:golang kafka 编辑:程序博客网 时间:2024/06/04 08:34
1. @attribute name@attribute name(attribute arguments)2. if #available(platform name version, ..., *) {    statements to execute if the APIs are available} else {    fallback statements to execute if the APIs are unavailable}Excerpt From: Apple Inc. “The Swift Programming Language (Swift 3.1).” iBooks.
0 0
原创粉丝点击