began work for seamless editing with history support

This commit is contained in:
michael starke
2016-08-25 18:02:19 +02:00
parent b7357e2e43
commit 2958f5255b
14 changed files with 121 additions and 105 deletions

View File

@@ -6,14 +6,22 @@
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
//
#import "MPViewController.h"
NS_ASSUME_NONNULL_BEGIN
@class KPKEntry;
@interface MPPasswordCreatorViewController : MPViewController <NSTextFieldDelegate>
@property (copy, readonly) NSString *generatedPassword;
//@property (weak) id closeTarget;
@property (assign) BOOL allowsEntryDefaults;
/**
* Block gets called whenever the user opts to store the password or cancel
*/
@property (nonatomic, copy, nullable) void (^completionHandler)(NSModalResponse response, NSString *password);
/**
* Should be called to reset the generator
@@ -23,3 +31,5 @@
- (void)reset;
@end
NS_ASSUME_NONNULL_END