I'm trying to compile the PSTCollectionView library using XCode 4.6, but for some reason, I'm getting a ton of compiler errors. They're all centered around the newer features of Objective-C.
A few examples:
However, the new array/dictionary/NSNumber macros are defined:
I'm using the Apple LLVM Compiler
I'm a bit stumped by this... any notions?
This is apparently an issue caused by using the wrong SDK. I was using the iOS 5.1 SDK, which does not allow the use of these handy new shortcuts that Apple added. When I change to the iOS 6.1 SDK, it no longer complains about that usage.
Apple lets you know in this article here.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.