88fdc89f27
[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.
33 lines
880 B
Objective-C
33 lines
880 B
Objective-C
//
|
|
// MPUserEntity.h
|
|
// MasterPassword-iOS
|
|
//
|
|
// Created by Maarten Billemont on 2014-09-14.
|
|
// Copyright (c) 2014 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <CoreData/CoreData.h>
|
|
|
|
@class MPElementEntity;
|
|
|
|
@interface MPUserEntity : NSManagedObject
|
|
|
|
@property (nonatomic, retain) NSNumber * avatar_;
|
|
@property (nonatomic, retain) NSNumber * defaultType_;
|
|
@property (nonatomic, retain) NSData * keyID;
|
|
@property (nonatomic, retain) NSDate * lastUsed;
|
|
@property (nonatomic, retain) NSString * name;
|
|
@property (nonatomic, retain) NSNumber * saveKey_;
|
|
@property (nonatomic, retain) NSSet *elements;
|
|
@end
|
|
|
|
@interface MPUserEntity (CoreDataGeneratedAccessors)
|
|
|
|
- (void)addElementsObject:(MPElementEntity *)value;
|
|
- (void)removeElementsObject:(MPElementEntity *)value;
|
|
- (void)addElements:(NSSet *)values;
|
|
- (void)removeElements:(NSSet *)values;
|
|
|
|
@end
|