Skip to content

Instantly share code, notes, and snippets.

@jorbsd
Created November 25, 2009 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jorbsd/242976 to your computer and use it in GitHub Desktop.
Save jorbsd/242976 to your computer and use it in GitHub Desktop.
// gcc -fobjc-gc-only -o test3 test3.m -framework Cocoa && ./test3
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[]) {
NSPredicate *myPred = [NSPredicate predicateWithFormat:@"NOT (SELF in %@)" argumentArray: [NSArray arrayWithObjects:[NSArray arrayWithObjects:@"one", @"two", @"three", nil], nil]];
NSLog(@"test3 finished running");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment