713ec69a20
[ADDED] Settings for remembering and storing the master password. [ADDED] KeyChain used to store master password & hash. [IMPROVED] Remember whether help is hidden. [FIXED] Making passwords stored. [ADDED] Generated password counter. Edit stored passwords. [IMPROVED] UI prettier and better documented. [ADDED] Warnings when changing a site's password.
34 lines
1.2 KiB
Objective-C
34 lines
1.2 KiB
Objective-C
//
|
|
// OPMainViewController.h
|
|
// OnePassword
|
|
//
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
//
|
|
|
|
#import "OPTypeViewController.h"
|
|
#import "OPElementEntity.h"
|
|
#import "OPSearchDelegate.h"
|
|
|
|
@interface OPMainViewController : UIViewController <OPTypeDelegate, UITextFieldDelegate, UISearchBarDelegate, OPSearchResultsDelegate>
|
|
|
|
@property (strong, nonatomic) OPElementEntity *activeElement;
|
|
@property (strong, nonatomic) IBOutlet OPSearchDelegate *searchResultsController;
|
|
@property (weak, nonatomic) IBOutlet UITextField *contentField;
|
|
@property (weak, nonatomic) IBOutlet UIButton *typeButton;
|
|
@property (weak, nonatomic) IBOutlet UIWebView *helpView;
|
|
@property (weak, nonatomic) IBOutlet UILabel *siteName;
|
|
@property (weak, nonatomic) IBOutlet UILabel *passwordCounter;
|
|
@property (weak, nonatomic) IBOutlet UIButton *passwordIncrementer;
|
|
@property (weak, nonatomic) IBOutlet UIButton *passwordEdit;
|
|
@property (weak, nonatomic) IBOutlet UIView *contentContainer;
|
|
@property (weak, nonatomic) IBOutlet UIView *helpContainer;
|
|
|
|
- (IBAction)copyContent;
|
|
- (IBAction)incrementPasswordCounter;
|
|
- (IBAction)editPassword;
|
|
- (IBAction)toggleHelp;
|
|
- (void)toggleHelp:(BOOL)hidden;
|
|
|
|
@end
|