Skip to content

Commit

Permalink
status commit for putting the help files online. Next up, the starter…
Browse files Browse the repository at this point in the history
…-kit.
  • Loading branch information
capttaco committed May 6, 2010
1 parent b703e5b commit d5a03df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Classes/BFHelpSystemViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#import <MessageUI/MFMailComposeViewController.h>


#define kBFHelpSystemGettingStarted @"gettingstarted"
#define kBFHelpSystemShare @"share"
#define kBFHelpSystemFAQ @"faq"
#define kBFHelpSystemGettingStarted @"http://giveabrief.com/help.html#gettingstarted"
#define kBFHelpSystemShare @"http://giveabrief.com/help.html#share"
#define kBFHelpSystemFAQ @"http://giveabrief.com/help.html#faq"

typedef enum {
BFHelpSystemGettingStartedSelection = 0,
Expand Down
9 changes: 6 additions & 3 deletions Classes/BFHelpSystemViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@ - (IBAction)changePage
switch ([pageControl selectedSegmentIndex]) {

case BFHelpSystemGettingStartedSelection:
loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemGettingStarted ofType:@"html"]];
// loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemGettingStarted ofType:@"html"]];
loadURL = [NSURL URLWithString:kBFHelpSystemGettingStarted];
break;

case BFHelpSystemShareSelection:
loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemShare ofType:@"html"]];
// loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemShare ofType:@"html"]];
loadURL = [NSURL URLWithString:kBFHelpSystemShare];
break;

case BFHelpSystemFAQSelection:
loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemFAQ ofType:@"html"]];
// loadURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:kBFHelpSystemFAQ ofType:@"html"]];
loadURL = [NSURL URLWithString:kBFHelpSystemFAQ];
break;
}

Expand Down
5 changes: 3 additions & 2 deletions Classes/BFHelpSystemViewController.xib
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="16"/>
<integer value="23"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -159,7 +159,8 @@
<bytes key="NSRGB">MC43NDk2OTExMjg3IDAuNzY0MzAxMjQwNCAwLjc3OTcxODk5NTEAA</bytes>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIDataDetectorTypes">1</int>
<bool key="IBUIScalesPageToFit">YES</bool>
<int key="IBUIDataDetectorTypes">3</int>
<bool key="IBUIDetectsPhoneNumbers">YES</bool>
</object>
</object>
Expand Down

0 comments on commit d5a03df

Please sign in to comment.