2014-03-20 11:15:37 +00:00
|
|
|
/**
|
|
|
|
* Copyright Maarten Billemont (http://www.lhunath.com, lhunath@lyndir.com)
|
|
|
|
*
|
|
|
|
* See the enclosed file LICENSE for license information (LGPLv3). If you did
|
|
|
|
* not receive this file, see http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
|
|
*
|
|
|
|
* @author Maarten Billemont <lhunath@lyndir.com>
|
|
|
|
* @license http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
//
|
|
|
|
// MPAvatarCell.h
|
|
|
|
// MPAvatarCell
|
|
|
|
//
|
|
|
|
// Created by lhunath on 2014-03-11.
|
|
|
|
// Copyright, lhunath (Maarten Billemont) 2014. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "MPEntities.h"
|
2014-04-07 03:34:18 +00:00
|
|
|
#import "MPCell.h"
|
2014-03-20 11:15:37 +00:00
|
|
|
|
2014-07-21 03:54:32 +00:00
|
|
|
typedef NS_ENUM ( NSUInteger, MPPasswordCellMode ) {
|
|
|
|
MPPasswordCellModePassword,
|
|
|
|
MPPasswordCellModeSettings,
|
|
|
|
};
|
2014-03-20 11:15:37 +00:00
|
|
|
|
2017-04-01 04:30:25 +00:00
|
|
|
@interface MPPasswordCell : MPCell<UIScrollViewDelegate, UITextFieldDelegate>
|
2014-07-21 03:54:32 +00:00
|
|
|
|
2017-04-01 04:30:25 +00:00
|
|
|
@property(nonatomic) NSArray *fuzzyGroups;
|
2014-11-03 17:11:46 +00:00
|
|
|
|
2014-09-21 15:47:53 +00:00
|
|
|
- (void)setSite:(MPSiteEntity *)site animated:(BOOL)animated;
|
2014-07-21 03:54:32 +00:00
|
|
|
- (void)setTransientSite:(NSString *)siteName animated:(BOOL)animated;
|
|
|
|
- (void)setMode:(MPPasswordCellMode)mode animated:(BOOL)animated;
|
2014-09-22 02:45:21 +00:00
|
|
|
- (MPSiteEntity *)siteInContext:(NSManagedObjectContext *)context;
|
2014-04-07 03:34:18 +00:00
|
|
|
|
2014-03-20 11:15:37 +00:00
|
|
|
@end
|