Skip to content

Instantly share code, notes, and snippets.

View macserv's full-sized avatar
💭
Dev dev dev.

Matthew Judy macserv

💭
Dev dev dev.
View GitHub Profile
@PsychoH13
PsychoH13 / Evil.m
Created June 14, 2011 17:37
Debauching ObjC's dot-syntax and blocks in ObjC
#import <Foundation/Foundation.h>
@interface NSString (Evil)
@property(assign, setter=initWithString:) NSString *initWithString;
@property(assign, readonly) NSString *test;
@property(assign, readonly) NSArray *(^split)(NSString *);
@end
int main(int argc, char *argv[])
{