Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import <Foundation/Foundation.h>
- int main (int argc, char *argv[])
- {
- NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
- NSDictionary *buildings =
- [NSDictionary dictionaryWithObjectsAndKeys:
- @"40.806549, 73.964096",
- @"Carman",
- @"40.806038, -73.963615",
- @"Broadway",
- @"40.806038, -73.963615 ",
- @"John Jay",
- @"40.807224, -73.959305",
- @"East Campus",
- @"40.806152, -73.961891",
- @"Hartley",
- @"40.806492, -73.963135",
- @"Butler",
- @"40.808949, -73.961304",
- @"Uris",
- @"40.809128, -73.960365",
- @"Mudd",
- @"40.808563, -73.960464",
- @"Schmerhorn",
- nil];
- if ([buildings writeToFile: @"buildings" atomically: YES] == NO)
- NSLog (@"Save to file failed!");
- [pool drain];
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement