New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MJGAvailability.h Not working when NS_AVAILABLE_IOS() was used to set API version #6
Comments
Ah only just seen that you posted this. Yes indeed - MJGAvailability really doesn't work well with the iOS 7 SDK. I've been meaning to get round to sorting this out. Apologies. |
These seem to all bottom out at CF_AVAILABLE, CF_AVAILABLE_MAC and CF_AVAILABLE_IOS. I've added the following for it to work with ios: #undef CF_AVAILABLE Any comments? |
@mattgapadmi Oh I see, so overriding the CF_AVAILABLE stuff, to bypass the new behaviour. Feel free to PR! |
PR here - #9 |
Fixed in #9 |
Does it work in Xcode 6.1.1 (6A2008a)? NS_AVAILABLE_IOS seems to only work fine in my code but not in iOS library. |
The deprecation warning works fine for symbols declared with __OSX_AVAILABLE_STARTING but not for those declared with NS_AVAILABLE_IOS and its variants (NS_ENUM_AVAILABLE_IOS, etc.)
The text was updated successfully, but these errors were encountered: