[REMOVED] Facebook SDK. [ADDED] Social framework integration for Twitter & Facebook. [MOVED] User migration warning state moved into MainVC, out of data model. [UPDATED] Major overhaul of Core Data integration. Multiple contexts and making sure we're on the right thread and the right context even for read access. [FIXED] Some iOS 6 deprecation fixes. [FIXED] Some VC rotation issues.
32 lines
972 B
Objective-C
32 lines
972 B
Objective-C
//
|
|
// MPAppDelegate_Key.h
|
|
// MasterPassword
|
|
//
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import "MPAppDelegate_Shared.h"
|
|
|
|
#import "UbiquityStoreManager.h"
|
|
|
|
typedef enum {
|
|
MPImportResultSuccess,
|
|
MPImportResultCancelled,
|
|
MPImportResultInvalidPassword,
|
|
MPImportResultMalformedInput,
|
|
MPImportResultInternalError,
|
|
} MPImportResult;
|
|
|
|
@interface MPAppDelegate_Shared (Store)<UbiquityStoreManagerDelegate>
|
|
|
|
+ (NSManagedObjectContext *)managedObjectContextForThreadIfReady;
|
|
+ (BOOL)managedObjectContextPerform:(void (^)(NSManagedObjectContext *moc))mocBlock;
|
|
|
|
- (MPImportResult)importSites:(NSString *)importedSitesString
|
|
askImportPassword:(NSString *(^)(NSString *userName))importPassword
|
|
askUserPassword:(NSString *(^)(NSString *userName, NSUInteger importCount, NSUInteger deleteCount))userPassword;
|
|
- (NSString *)exportSitesShowingPasswords:(BOOL)showPasswords;
|
|
|
|
@end
|