Created
April 16, 2015 10:42
-
-
Save mikezs/26fa0ae7504abb026a50 to your computer and use it in GitHub Desktop.
Use of trigraphs in Objective-C to create weird syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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