Created
November 25, 2009 19:42
-
-
Save jorbsd/242969 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
// gcc -fobjc-gc-only -o test1 test1.m -framework Cocoa && ./test1 | |
#import <Cocoa/Cocoa.h> | |
int main(int argc, char *argv[]) { | |
NSArray *arrayOne = [NSArray arrayWithObjects:@"one", @"two", @"three", nil]; | |
NSArray *arrayTwo = [NSArray arrayWithObjects:arrayOne, nil]; | |
NSPredicate *myPred = [NSPredicate predicateWithFormat:@"NOT (SELF in %@)" argumentArray: arrayTwo]; | |
NSLog(@"test1 finished running"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment