We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Handle class availability.
Currently, unavailable OBJC_CLASS_$_* symbols cause a load-time linker error.
OBJC_CLASS_$_*
This can be checked by either:
Weak linking symbols.
Getting the class via objc_getClass.
objc_getClass
Handle method availability.
Currently, unavailable methods cause an exception.
Checking respondsToSelector: (high runtime cost each time).
respondsToSelector:
Checking the OS version against the availability (one time cost).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Handle class availability.
Currently, unavailable
OBJC_CLASS_$_*
symbols cause a load-time linker error.This can be checked by either:
Weak linking symbols.
Getting the class via
objc_getClass
.Handle method availability.
Currently, unavailable methods cause an exception.
This can be checked by either:
Checking
respondsToSelector:
(high runtime cost each time).Checking the OS version against the availability (one time cost).
The text was updated successfully, but these errors were encountered: