阅读背景:

可以使用预处理程序指令为Mac和iOS导入不同的头文件吗?

来源:互联网 

I am writing a class library for Mac OS X and iOS to be released as a Cocoa Framework for OS X and a Static Library for iOS. To simplify matters, I intend to use multiple targets in Xcode. However, the classes on Mac OS X link against Cocoa.h whereas on iOS they link against Foundation.h.I am writing a class library for Mac OS X and i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: