Skip to content

Instantly share code, notes, and snippets.

@kemenaran
Forked from steipete/Macros.h
Created March 11, 2014 09:46
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kemenaran/9482584 to your computer and use it in GitHub Desktop.
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment