我写了一个Mac + iOS库,它依赖于自动合成的属性。我曾有人尝试在32位下编译它,忽略一堆编译器警告,并在运行时获得无法识别的选择器。因为如果不实现一堆getter和setter,所有的代码都不会工作,所以我更喜欢用#error来阻止它们。#if !__has_feature(objc_default_synthesize_properties)
#error This library requires the modern runtime and__has_feature(objc</em