Created
January 14, 2010 01:30
-
-
Save aufflick/276766 to your computer and use it in GitHub Desktop.
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
- (void) testBInsert | |
{ | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
for (int i=0 ; i < 10 ; i++) { | |
CJCard *card = [[CJCard alloc] init]; | |
card.name = [NSString stringWithFormat:@"card %d", i]; | |
card.type = CJCARD_OTHER_STRING; | |
[card commit]; | |
[card release]; | |
} | |
[pool release]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment