Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. @implementation RootObject
  2.  
  3. +initialize; { return self; }
  4. +alloc; { return class_createInstance(self, 0); }
  5. -free; { object_dispose(self); }
  6. -forward:(SEL)x :(void*)m
  7. { printf("Method not found: %s\n", (char *)x); }
  8. @end
  9.  
  10. int main()
  11. {
  12. [[RootObject alloc] suca];
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement