New: added "Show in Finder" item to XcodeCapp.

Shows the Cappuccino project folder. If Path Finder is installed, it says "Show in Path Finder" and that is used.

Reorganized the menu a bit and updated the help.
This commit is contained in:
Aparajita Fishman
2013-05-09 09:26:44 -04:00
parent a63bb155c2
commit 86d7ec4180
10 changed files with 261 additions and 199 deletions
+5 -5
View File
@@ -401,7 +401,7 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
[self.operationQueue addOperation:op];
}
- (IBAction)openProjectInXcode:(id)aSender
- (IBAction)openXcodeProject:(id)aSender
{
BOOL isDirectory, opened = YES;
BOOL exists = [self.fm fileExistsAtPath:self.xcodeProjectPath isDirectory:&isDirectory];
@@ -426,11 +426,11 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
NSInteger response = NSRunAlertPanel(@"The project could not be opened.", @"%@\n\nWould you like to regenerate the project?", @"Yes", @"No", nil, text);
if (response == NSAlertDefaultReturn)
[self resetProject:self];
[self synchronizeProject:self];
}
}
- (IBAction)resetProject:(id)aSender
- (IBAction)synchronizeProject:(id)aSender
{
NSString *projectPath = self.projectPath;
@@ -571,7 +571,7 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
[self startEventStream];
if ([[NSUserDefaults standardUserDefaults] boolForKey:kDefaultAutoOpenXcodeProject])
[self openProjectInXcode:self];
[self openXcodeProject:self];
}
#pragma mark - Notification handlers
@@ -1158,7 +1158,7 @@ void fsevents_callback(ConstFSEventStreamRef streamRef,
}
}
[self resetProject:self];
[self synchronizeProject:self];
}
/*!