Permalink
Browse files

Merge pull request #44 from hiddenmemory/master

Fix for Xcode 4.3.2
  • Loading branch information...
2 parents 3862746 + 4736b2b commit 3e4b488822c3c07b930f821daae1abef45165551 @atg committed Apr 22, 2012
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 3e4b488

Please sign in to comment.