Permalink
Browse files

Merge branch 'fix-for-xcode-432'

  • Loading branch information...
hiddenmemory committed Apr 22, 2012
2 parents 3862746 + 52c1113 commit 4736b2b1101f60df5716bebdc38def435184b4df
Showing with 5 additions and 3 deletions.
  1. +4 −2 IGKLaunchController.m
  2. +1 −1 IGKTabController.h
View
@@ -27,10 +27,12 @@ @implementation IGKLaunchController
- (NSString *)checkForOrSetDeveloperDirectory
{
+ NSString *checkPath = @"/Applications/Xcode.app/Contents/Developer";
+
//Check /Developer exists
- BOOL rootDevExists = [[NSFileManager defaultManager] fileExistsAtPath:@"/Developer"];
+ BOOL rootDevExists = [[NSFileManager defaultManager] fileExistsAtPath:checkPath];
if (rootDevExists)
- return @"/Developer";
+ return checkPath;
//Otherwise, ask the user to point us to their developer directory
NSOpenPanel *openPanel = [NSOpenPanel openPanel];
View
@@ -35,7 +35,7 @@ typedef enum {
CHDocumentationBrowserFilterGroupByKind = 2
} CHDocumentationBrowserFilterGroupByMode;
-@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate>
+@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate, NSWindowDelegate>
{

0 comments on commit 4736b2b

Please sign in to comment.