Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Defines a yet undocumented method to add a warning if super isn't called.
#if __has_attribute(objc_requires_super)
#define NS_REQUIRES_SUPER __attribute((objc_requires_super))

This comment has been minimized.

Copy link

@nitriques nitriques commented Mar 25, 2014

Hey, I am just curious about where to call it... On the class level ? Can you give an example please? NS_DESIGNATED_INITIALIZER is great BTW.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.