2
0

Prepare key handling logic for sharing with OS X.

[MOVED]     Key logic now in a common class extension on MPAppDelegate
            so it can be shared between iOS and OS X apps.
[MOVED]     MPConfig for sharing between iOS and OS X apps.
[CHANGED]   keyphrase -> key.
This commit is contained in:
Maarten Billemont
2012-03-05 22:19:05 +01:00
parent 6bda70920b
commit 02ffa9611a
23 changed files with 420 additions and 251 deletions

View File

@@ -7,7 +7,7 @@
//
#import "MPGuideViewController.h"
#import "MPAppDelegate.h"
#import "MPAppDelegate_Key.h"
@implementation MPGuideViewController
@synthesize scrollView;
@@ -28,14 +28,14 @@
[super viewWillDisappear:animated];
[MPConfig get].showQuickStart = [NSNumber numberWithBool:NO];
[MPiOSConfig get].showQuickStart = [NSNumber numberWithBool:NO];
}
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
[[MPAppDelegate get] loadKeyPhrase:animated];
[[MPAppDelegate get] loadKey:animated];
}