Skip to content
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

Do something with NS_UNAVAILABLE annotations in header files #159

Open
ronaldoussoren opened this issue Jul 22, 2016 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ronaldoussoren
Copy link
Owner

Original report by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


Apple's header files have annotations on some methods to indicate that you shouldn't call methods on a subclass (mostly about -init not being available in some classes).

Add metadata about that and emit a warning when those methods are called anyway (the warnings machinery can be used to convert those into exceptions).

@ronaldoussoren ronaldoussoren added minor enhancement New feature or request and removed framework wrappers labels Feb 29, 2020
@ronaldoussoren
Copy link
Owner Author

This is information that can be extracted from header files, and an in-development version of objective.metadata does just that.

Keeping this issue open until that work is actually used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant