Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @implementation RootObject
- +initialize; { return self; }
- +alloc; { return class_createInstance(self, 0); }
- -free; { object_dispose(self); }
- -forward:(SEL)x :(void*)m
- { printf("Method not found: %s\n", (char *)x); }
- @end
- int main()
- {
- [[RootObject alloc] suca];
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement