square/zapp — Issue #29: Mac OS X 10.6 compatibility
Author: andreyz
Created: 2011-11-28 10:10:25+00:00
State: open

Right now Zapp won't compile on Snow Leopard build server, due to the following use of OS X 10.7 APIs:

ZappAppDelegate.m:114:22: error: receiver type 'NSTableView' for instance message does not declare a method with selector 'rowForView:' [4]
NSInteger row = [self.activityTableView rowForView:sender];
^
ZappAppDelegate.m:150:98: error: use of undeclared identifier 'NSConfinementConcurrencyType' [3]
NSManagedObjectContext *newContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSConfinementConcurrencyType];
^
ZappRepositoriesController.m:34:6: error: receiver type 'NSFileManager' for instance message does not declare a method with selector 'createDirectoryAtURL:withIntermediateDirectories:attributes:error:' [4]
[fileManager createDirectoryAtURL:storageURL withIntermediateDirectories:YES attributes:nil error:NULL];
^