2
0

Removed iCloud + added generated login names.

[REMOVED]   UbiquityStoreManager and iCloud support.  Now using simplified local Core Data store logic.
[ADDED]     Generating site login names.
[IMPROVED]  Some refactoring and interface improvements for optionally generated user names.
This commit is contained in:
Maarten Billemont
2014-09-15 01:00:23 -04:00
parent 9109a59410
commit 88fdc89f27
39 changed files with 684 additions and 988 deletions

View File

@@ -8,7 +8,6 @@
#import "MPAppDelegate_Shared.h"
#import "UbiquityStoreManager.h"
#import "MPFixable.h"
typedef NS_ENUM( NSUInteger, MPImportResult ) {
@@ -19,7 +18,7 @@ typedef NS_ENUM( NSUInteger, MPImportResult ) {
MPImportResultInternalError,
};
@interface MPAppDelegate_Shared(Store)<UbiquityStoreManagerDelegate>
@interface MPAppDelegate_Shared(Store)
+ (NSManagedObjectContext *)managedObjectContextForMainThreadIfReady;
+ (BOOL)managedObjectContextForMainThreadPerformBlock:(void (^)(NSManagedObjectContext *mainContext))mocBlock;
@@ -27,7 +26,6 @@ typedef NS_ENUM( NSUInteger, MPImportResult ) {
+ (BOOL)managedObjectContextPerformBlock:(void (^)(NSManagedObjectContext *context))mocBlock;
+ (BOOL)managedObjectContextPerformBlockAndWait:(void (^)(NSManagedObjectContext *context))mocBlock;
- (UbiquityStoreManager *)storeManager;
- (MPFixableResult)findAndFixInconsistenciesSaveInContext:(NSManagedObjectContext *)context;
/** @param completion The block to execute after adding the element, executed from the main thread with the new element in the main MOC. */