Skip to content

Instantly share code, notes, and snippets.

@amattn
Created October 7, 2011 00:34
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 amattn/1269124 to your computer and use it in GitHub Desktop.
Save amattn/1269124 to your computer and use it in GitHub Desktop.
Objective C Macro of the week
#define SHOULD_NEVER_GET_HERE NSAssert4(FALSE, @"\n\n **** Should Never Get Here **** \nAssertion in file:%s at line %i in Method %@ with object:\n %@", __FILE__, __LINE__, NSStringFromSelector(_cmd), self)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment