Skip to content

Commit

Permalink
Merge pull request #44 from hiddenmemory/master
Browse files Browse the repository at this point in the history
Fix for Xcode 4.3.2
  • Loading branch information
atg committed Apr 22, 2012
2 parents 3862746 + 4736b2b commit 3e4b488
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions IGKLaunchController.m
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion IGKTabController.h
Expand Up @@ -35,7 +35,7 @@ typedef enum {
CHDocumentationBrowserFilterGroupByKind = 2
} CHDocumentationBrowserFilterGroupByMode;

@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate>
@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate, NSWindowDelegate>
{


Expand Down

0 comments on commit 3e4b488

Please sign in to comment.