AndrewShmig

Untitled

Apr 29th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. //  main.m
  3. //  ConsoleObjectiveCNonARCProject
  4. //
  5. //  Created by AndrewShmig on 04/29/13.
  6. //  Copyright (c) 2013 AndrewShmig. All rights reserved.
  7. //
  8.  
  9. @interface MyString : NSString @end
  10. @implementation MyString @end
  11.  
  12. int main(int argc, const char * argv[])
  13. {
  14.  
  15.     MyString *str;
  16.  
  17.     for(int i=0; i<1000; i++){
  18.         str = [[MyString alloc] init];
  19.     }
  20.  
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment