Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for Xcode 4.3.2 #44

Merged
merged 2 commits into from

2 participants

@hiddenmemory

Add a check for the most recent version of Xcode so documentation can be found.

@fileability fileability merged commit 3e4b488 into fileability:master
@fileability
Owner

Cool stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2012
  1. @hiddenmemory

    Fix for Xcode 4.3.2

    hiddenmemory authored
  2. @hiddenmemory
This page is out of date. Refresh to see the latest.
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>
{
Something went wrong with that request. Please try again.