Skip to content

Instantly share code, notes, and snippets.

@akio0911
Created May 15, 2009 05:49
Show Gist options
  • Save akio0911/112062 to your computer and use it in GitHub Desktop.
Save akio0911/112062 to your computer and use it in GitHub Desktop.
#import <Foundation/Foundation.h>
int main() {
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
NSMutableIndexSet * set = [NSMutableIndexSet indexSet];
[set addIndex:111];
[set addIndex:222];
[set addIndex:333];
[pool release];
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment