Created
November 25, 2009 19:42
-
-
Save jorbsd/242971 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 test2 test2.m -framework Cocoa && ./test2 | |
#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 %@)", arrayTwo]; | |
NSLog(@"test2 finished running"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment