Skip to content

Instantly share code, notes, and snippets.

@NorrinRadd
Created May 28, 2013 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NorrinRadd/5664705 to your computer and use it in GitHub Desktop.
Save NorrinRadd/5664705 to your computer and use it in GitHub Desktop.
added to methods of a parent class so that subclasses are warned if they do not call super
#if __has_attribute(objc_requires_super)
#define NS_REQUIRES_SUPER __attribute((objc_requires_super))
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment