Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #44 from hiddenmemory/master

Fix for Xcode 4.3.2
  • Loading branch information...
commit 3e4b488822c3c07b930f821daae1abef45165551 2 parents 3862746 + 4736b2b
@fileability authored
Showing with 5 additions and 3 deletions.
  1. +4 −2 IGKLaunchController.m
  2. +1 −1  IGKTabController.h
View
6 IGKLaunchController.m
@@ -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
2  IGKTabController.h
@@ -35,7 +35,7 @@ typedef enum {
CHDocumentationBrowserFilterGroupByKind = 2
} CHDocumentationBrowserFilterGroupByMode;
-@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate>
+@interface IGKTabController : IGKTabContents<IGKTableOfContentsDelegate, NSWindowDelegate>
{
Please sign in to comment.
Something went wrong with that request. Please try again.