Skip to content

Instantly share code, notes, and snippets.

@mikezs
Created April 16, 2015 10:42
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 mikezs/26fa0ae7504abb026a50 to your computer and use it in GitHub Desktop.
Save mikezs/26fa0ae7504abb026a50 to your computer and use it in GitHub Desktop.
Use of trigraphs in Objective-C to create weird syntax
@interface AbusiveClass : NSObject
@end
@implementation AbusiveClass
??=define U_FUKIN_WOT_M8 self == nil
%:define ILL_CUT_U_BRUV ??(self handleError:>;
- (BOOL)handleError??<return YES;%>
- (instancetype)init<%if (self = <:super init??))??<
U_FUKIN_WOT_M8 ??!??! ILL_CUT_U_BRUV
%>return self;??>
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment