2
0
MasterPassword/OnePassword/OPAppDelegate.h

31 lines
1003 B
C
Raw Normal View History

2011-11-30 21:42:40 +00:00
//
// OPAppDelegate.h
// OnePassword
//
// Created by Maarten Billemont on 24/11/11.
// Copyright (c) 2011 Lyndir. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface OPAppDelegate : AbstractAppDelegate
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (strong, nonatomic) NSString *keyPhrase;
@property (strong, nonatomic) NSData *keyPhraseHash;
@property (strong, nonatomic) NSString *keyPhraseHashHex;
+ (OPAppDelegate *)get;
2012-01-24 23:30:43 +00:00
+ (NSManagedObjectModel *)managedObjectModel;
+ (NSManagedObjectContext *)managedObjectContext;
2011-11-30 21:42:40 +00:00
- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
2012-02-02 13:56:09 +00:00
- (void)showGuide;
- (void)loadKeyPhrase;
2011-11-30 21:42:40 +00:00
@end