2011-11-30 21:42:40 +00:00
|
|
|
//
|
|
|
|
// OPMainViewController.h
|
|
|
|
// OnePassword
|
|
|
|
//
|
|
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2012-01-05 00:44:15 +00:00
|
|
|
#import "OPTypeViewController.h"
|
|
|
|
#import "OPElementEntity.h"
|
|
|
|
#import "OPSearchDelegate.h"
|
2011-11-30 21:42:40 +00:00
|
|
|
|
2012-01-05 00:44:15 +00:00
|
|
|
@interface OPMainViewController : UITableViewController <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 UITextView *contentTextView;
|
|
|
|
@property (weak, nonatomic) IBOutlet UILabel *typeLabel;
|
|
|
|
@property (weak, nonatomic) IBOutlet UISegmentedControl *contentType;
|
|
|
|
|
|
|
|
- (IBAction)didChangeContentType:(UISegmentedControl *)sender;
|
2012-01-12 16:28:20 +00:00
|
|
|
- (IBAction)didTriggerContent:(id)sender;
|
2011-11-30 21:42:40 +00:00
|
|
|
|
|
|
|
@end
|