是否有用于将非原子添加到所有 @属性 声明的宏?
Is there a macro for adding nonatomic to all @property declarations?
NS_ASSUME_NONNULL_BEGIN
& NS_ASSUME_NONNULL_END
为 clang pragma 提供了很好的包装器:
#pragma clang assume_nonnull begin
& #pragma clang assume_nonnull end
是否有等效的宏允许我跳过 @property
声明中尚未包含它的 nonatomic
?
我不相信它们是 Objective-C 属性 声明中非原子的编译指示。这是 Clang 3.9 Documentation - Attributes. You can find out everything else about clang by reading the entire Clang 3.9 Documentation.
中所有 Clang 属性和文档的列表
NS_ASSUME_NONNULL_BEGIN
& NS_ASSUME_NONNULL_END
为 clang pragma 提供了很好的包装器:
#pragma clang assume_nonnull begin
& #pragma clang assume_nonnull end
是否有等效的宏允许我跳过 @property
声明中尚未包含它的 nonatomic
?
我不相信它们是 Objective-C 属性 声明中非原子的编译指示。这是 Clang 3.9 Documentation - Attributes. You can find out everything else about clang by reading the entire Clang 3.9 Documentation.
中所有 Clang 属性和文档的列表