Skip to content

Commit

Permalink
Make app universal and support display rotation; initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
John Flanagan authored and John Flanagan committed Apr 24, 2012
1 parent e3b745d commit a7c5c87
Show file tree
Hide file tree
Showing 39 changed files with 1,333 additions and 81 deletions.
Binary file added Default-Landscape@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Default-Landscape~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
479 changes: 479 additions & 0 deletions Default-Landscape~ipad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Default-Portrait@2x~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Default-Portrait~ipad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
479 changes: 479 additions & 0 deletions Default-Portrait~ipad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 58 additions & 7 deletions MiniKeePass.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@
529708B014FEF149003547FB /* Andale Mono.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 529708AD14FEEFD3003547FB /* Andale Mono.ttf */; };
52A177BC13EB698E00CEEFCE /* createdb.html in Resources */ = {isa = PBXBuildFile; fileRef = 52A177BB13EB698E00CEEFCE /* createdb.html */; };
52A7E1A914EDF1CB0041F950 /* LockScreenController.m in Sources */ = {isa = PBXBuildFile; fileRef = 52A7E1A814EDF1CB0041F950 /* LockScreenController.m */; };
52CF7D871542515500D681C1 /* Default-Landscape~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D861542515500D681C1 /* Default-Landscape~ipad.png */; };
52CF7D891542515900D681C1 /* Default-Landscape@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D881542515900D681C1 /* Default-Landscape@2x~ipad.png */; };
52CF7D8B1542515D00D681C1 /* Default-Portrait@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D8A1542515D00D681C1 /* Default-Portrait@2x~ipad.png */; };
52CF7D8D1542516300D681C1 /* Default-Portrait~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D8C1542516300D681C1 /* Default-Portrait~ipad.png */; };
52CF7D8F1542516900D681C1 /* icon@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D8E1542516900D681C1 /* icon@2x~ipad.png */; };
52CF7D911542516D00D681C1 /* icon~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52CF7D901542516D00D681C1 /* icon~ipad.png */; };
52D63AF0154596FC00EEEFD3 /* splash-Portrait~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52D63AEE154596FC00EEEFD3 /* splash-Portrait~ipad.png */; };
52D63AF1154596FC00EEEFD3 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 52D63AEF154596FC00EEEFD3 /* [email protected] */; };
52D63AF515459A2300EEEFD3 /* splash-Landscape~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 52D63AF315459A2300EEEFD3 /* splash-Landscape~ipad.png */; };
52D63AF615459A2300EEEFD3 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 52D63AF415459A2300EEEFD3 /* [email protected] */; };
52E6C88715431C7700A91CD3 /* AutorotatingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 52E6C88615431C7700A91CD3 /* AutorotatingViewController.m */; };
52E6C88B15431D6C00A91CD3 /* AutorotatingTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 52E6C88A15431D6C00A91CD3 /* AutorotatingTableViewController.m */; };
6802F9C614EC9C1D00ACD4C1 /* wrench.png in Resources */ = {isa = PBXBuildFile; fileRef = 6802F9C314EC9C1D00ACD4C1 /* wrench.png */; };
6802F9C814EC9C1D00ACD4C1 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = 6802F9C514EC9C1D00ACD4C1 /* [email protected] */; };
68406ACD13CA42F200A5849C /* ImageButtonCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 68406ACC13CA42F200A5849C /* ImageButtonCell.m */; };
Expand Down Expand Up @@ -343,6 +355,20 @@
52A177BB13EB698E00CEEFCE /* createdb.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = createdb.html; sourceTree = "<group>"; };
52A7E1A714EDF1CB0041F950 /* LockScreenController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LockScreenController.h; sourceTree = "<group>"; };
52A7E1A814EDF1CB0041F950 /* LockScreenController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LockScreenController.m; sourceTree = "<group>"; };
52CF7D861542515500D681C1 /* Default-Landscape~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Landscape~ipad.png"; sourceTree = "<group>"; };
52CF7D881542515900D681C1 /* Default-Landscape@2x~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Landscape@2x~ipad.png"; sourceTree = "<group>"; };
52CF7D8A1542515D00D681C1 /* Default-Portrait@2x~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Portrait@2x~ipad.png"; sourceTree = "<group>"; };
52CF7D8C1542516300D681C1 /* Default-Portrait~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Portrait~ipad.png"; sourceTree = "<group>"; };
52CF7D8E1542516900D681C1 /* icon@2x~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon@2x~ipad.png"; sourceTree = "<group>"; };
52CF7D901542516D00D681C1 /* icon~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "icon~ipad.png"; sourceTree = "<group>"; };
52D63AEE154596FC00EEEFD3 /* splash-Portrait~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "splash-Portrait~ipad.png"; sourceTree = "<group>"; };
52D63AEF154596FC00EEEFD3 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
52D63AF315459A2300EEEFD3 /* splash-Landscape~ipad.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "splash-Landscape~ipad.png"; sourceTree = "<group>"; };
52D63AF415459A2300EEEFD3 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
52E6C88515431C7700A91CD3 /* AutorotatingViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AutorotatingViewController.h; sourceTree = "<group>"; };
52E6C88615431C7700A91CD3 /* AutorotatingViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AutorotatingViewController.m; sourceTree = "<group>"; };
52E6C88915431D6C00A91CD3 /* AutorotatingTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AutorotatingTableViewController.h; sourceTree = "<group>"; };
52E6C88A15431D6C00A91CD3 /* AutorotatingTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AutorotatingTableViewController.m; sourceTree = "<group>"; };
6802F9C314EC9C1D00ACD4C1 /* wrench.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = wrench.png; sourceTree = "<group>"; };
6802F9C414EC9C1D00ACD4C1 /* wrench.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = wrench.svg; sourceTree = "<group>"; };
6802F9C514EC9C1D00ACD4C1 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
Expand All @@ -364,13 +390,11 @@
689D001013A4277E005EBD36 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; };
689D001213A42784005EBD36 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
689D021013A42B63005EBD36 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
689D021113A42B63005EBD36 /* Default.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = Default.svg; sourceTree = "<group>"; };
689D021213A42B63005EBD36 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
689D021413A42B63005EBD36 /* dropbox.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = dropbox.html; sourceTree = "<group>"; };
689D021513A42B63005EBD36 /* itunes.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = itunes.html; sourceTree = "<group>"; };
689D021613A42B63005EBD36 /* style.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = style.css; sourceTree = "<group>"; };
689D021713A42B63005EBD36 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
689D021813A42B63005EBD36 /* icon.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = icon.svg; sourceTree = "<group>"; };
689D021913A42B63005EBD36 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
689D021B13A42B63005EBD36 /* 0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 0.png; sourceTree = "<group>"; };
689D021C13A42B63005EBD36 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1137,14 +1161,22 @@
529708AD14FEEFD3003547FB /* Andale Mono.ttf */,
689D021313A42B63005EBD36 /* help */,
689D021A13A42B63005EBD36 /* images */,
689D021113A42B63005EBD36 /* Default.svg */,
689D021013A42B63005EBD36 /* Default.png */,
689D021213A42B63005EBD36 /* [email protected] */,
689D021813A42B63005EBD36 /* icon.svg */,
52CF7D8C1542516300D681C1 /* Default-Portrait~ipad.png */,
52CF7D8A1542515D00D681C1 /* Default-Portrait@2x~ipad.png */,
52CF7D861542515500D681C1 /* Default-Landscape~ipad.png */,
52CF7D881542515900D681C1 /* Default-Landscape@2x~ipad.png */,
689D021713A42B63005EBD36 /* icon.png */,
689D021913A42B63005EBD36 /* [email protected] */,
52CF7D901542516D00D681C1 /* icon~ipad.png */,
52CF7D8E1542516900D681C1 /* icon@2x~ipad.png */,
5235D58214F8160900B0C991 /* splash.png */,
5235D58414F8176300B0C991 /* [email protected] */,
52D63AEE154596FC00EEEFD3 /* splash-Portrait~ipad.png */,
52D63AEF154596FC00EEEFD3 /* [email protected] */,
52D63AF315459A2300EEEFD3 /* splash-Landscape~ipad.png */,
52D63AF415459A2300EEEFD3 /* [email protected] */,
);
name = Resources;
sourceTree = "<group>";
Expand Down Expand Up @@ -1226,6 +1258,10 @@
689DFFDF13A4273F005EBD36 /* MiniKeePass */ = {
isa = PBXGroup;
children = (
52E6C88515431C7700A91CD3 /* AutorotatingViewController.h */,
52E6C88615431C7700A91CD3 /* AutorotatingViewController.m */,
52E6C88915431D6C00A91CD3 /* AutorotatingTableViewController.h */,
52E6C88A15431D6C00A91CD3 /* AutorotatingTableViewController.m */,
689D042613A42C81005EBD36 /* DatabaseDocument.h */,
689D042713A42C81005EBD36 /* DatabaseDocument.m */,
689D042813A42C81005EBD36 /* DatabaseManager.h */,
Expand Down Expand Up @@ -1569,6 +1605,16 @@
5235D58514F8176300B0C991 /* [email protected] in Resources */,
52709AB9150141D9008AB6C9 /* info.png in Resources */,
52709ABA150141D9008AB6C9 /* [email protected] in Resources */,
52CF7D871542515500D681C1 /* Default-Landscape~ipad.png in Resources */,
52CF7D891542515900D681C1 /* Default-Landscape@2x~ipad.png in Resources */,
52CF7D8B1542515D00D681C1 /* Default-Portrait@2x~ipad.png in Resources */,
52CF7D8D1542516300D681C1 /* Default-Portrait~ipad.png in Resources */,
52CF7D8F1542516900D681C1 /* icon@2x~ipad.png in Resources */,
52CF7D911542516D00D681C1 /* icon~ipad.png in Resources */,
52D63AF0154596FC00EEEFD3 /* splash-Portrait~ipad.png in Resources */,
52D63AF1154596FC00EEEFD3 /* [email protected] in Resources */,
52D63AF515459A2300EEEFD3 /* splash-Landscape~ipad.png in Resources */,
52D63AF615459A2300EEEFD3 /* [email protected] in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1678,6 +1724,8 @@
68F19D1F14EB3A9C00B772CB /* CharacterSetsViewController.m in Sources */,
68CE868F14EDF4C300D34A61 /* LengthCell.m in Sources */,
68633022150BCD6000D9988A /* FileOutputStream.m in Sources */,
52E6C88715431C7700A91CD3 /* AutorotatingViewController.m in Sources */,
52E6C88B15431D6C00A91CD3 /* AutorotatingTableViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1810,12 +1858,13 @@
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "MiniKeePass/MiniKeePass-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_VERSION = "";
INFOPLIST_FILE = "MiniKeePass/MiniKeePass-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
Expand Down Expand Up @@ -1901,11 +1950,12 @@
GCC_DYNAMIC_NO_PIC = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "MiniKeePass/MiniKeePass-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_VERSION = "";
INFOPLIST_FILE = "MiniKeePass/MiniKeePass-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = "1,2";
WRAPPER_EXTENSION = app;
};
name = Debug;
Expand All @@ -1918,11 +1968,12 @@
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "MiniKeePass/MiniKeePass-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_VERSION = "";
INFOPLIST_FILE = "MiniKeePass/MiniKeePass-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 4.0;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
Expand Down
13 changes: 13 additions & 0 deletions MiniKeePass/AutorotatingTableViewController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// AutorotatingTableViewController.h
// MiniKeePass
//
// Created by John Flanagan on 4/21/12.
// Copyright (c) 2012 Self. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AutorotatingTableViewController : UITableViewController

@end
25 changes: 25 additions & 0 deletions MiniKeePass/AutorotatingTableViewController.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// AutorotatingTableViewController.m
// MiniKeePass
//
// Created by John Flanagan on 4/21/12.
// Copyright (c) 2012 Self. All rights reserved.
//

#import "AutorotatingTableViewController.h"

@implementation AutorotatingTableViewController

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
BOOL shouldRotate;

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
shouldRotate = YES;
} else {
shouldRotate = interfaceOrientation == UIInterfaceOrientationPortrait;
}

return shouldRotate;
}

@end
13 changes: 13 additions & 0 deletions MiniKeePass/AutorotatingViewController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// AutorotatingViewController.h
// MiniKeePass
//
// Created by Mark Hewett on 4/8/12.
// Copyright (c) 2012 Self. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AutorotatingViewController : UIViewController

@end
25 changes: 25 additions & 0 deletions MiniKeePass/AutorotatingViewController.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// AutorotatingViewController.m
// MiniKeePass
//
// Created by Mark Hewett on 4/8/12.
// Copyright (c) 2012 Self. All rights reserved.
//

#import "AutorotatingViewController.h"

@implementation AutorotatingViewController

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
BOOL shouldRotate;

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
shouldRotate = YES;
} else {
shouldRotate = interfaceOrientation == UIInterfaceOrientationPortrait;
}

return shouldRotate;
}

@end
3 changes: 2 additions & 1 deletion MiniKeePass/CharacterSetsViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#import <UIKit/UIKit.h>
#import "SwitchCell.h"
#import "AutorotatingTableViewController.h"

#define CHARACTER_SET_UPPER_CASE (1 << 0)
#define CHARACTER_SET_LOWER_CASE (1 << 1)
Expand All @@ -29,7 +30,7 @@

#define CHARACTER_SET_DEFAULT (CHARACTER_SET_UPPER_CASE | CHARACTER_SET_LOWER_CASE | CHARACTER_SET_DIGITS)

@interface CharacterSetsViewController : UITableViewController {
@interface CharacterSetsViewController : AutorotatingTableViewController {
SwitchCell *upperCaseSwitchCell;
SwitchCell *lowerCaseSwitchCell;
SwitchCell *digitsSwitchCell;
Expand Down
3 changes: 2 additions & 1 deletion MiniKeePass/EntryViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
#import "KdbLib.h"
#import "MiniKeePassAppDelegate.h"
#import "PasswordGeneratorViewController.h"
#import "AutorotatingTableViewController.h"

@interface EntryViewController : UITableViewController <UIGestureRecognizerDelegate, ImagesViewControllerDelegate, TextFieldCellDelegate, PasswordGeneratorDelegate> {
@interface EntryViewController : AutorotatingTableViewController <UIGestureRecognizerDelegate, ImagesViewControllerDelegate, TextFieldCellDelegate, PasswordGeneratorDelegate> {
MiniKeePassAppDelegate *appDelegate;
TitleFieldCell *titleCell;
ImageButtonCell *imageButtonCell;
Expand Down
15 changes: 12 additions & 3 deletions MiniKeePass/FilesInfoView.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,26 @@ - (id)initWithFrame:(CGRect)frame {
// Initialization code
self.backgroundColor = [UIColor whiteColor];

CGFloat screenWidth = CGRectGetWidth([[UIScreen mainScreen] bounds]);

UIImage *image = [UIImage imageNamed:@"background"];

CGFloat y = 40;
CGFloat y;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
y = 240.0f;
} else {
y = 40.0f;
}

UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
imageView.frame = CGRectMake(160 - image.size.width / 2.0, y, image.size.width, image.size.height);
imageView.frame = CGRectMake((screenWidth - image.size.width) / 2.0, y, image.size.width, image.size.height);
[self addSubview:imageView];
[imageView release];

y += imageView.frame.size.height + 40;

UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, y, 320, 40)];
CGFloat labelWidth = 320.0f;
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake((screenWidth - labelWidth) / 2.0, y, labelWidth, 40)];
label.backgroundColor = [UIColor clearColor];
label.textAlignment = UITextAlignmentCenter;
label.numberOfLines = 0;
Expand Down
3 changes: 2 additions & 1 deletion MiniKeePass/FilesViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
#import "FilesInfoView.h"
#import "TextEntryController.h"
#import "NewKdbViewController.h"
#import "AutorotatingTableViewController.h"

@class MiniKeePassAppDelegate;

@interface FilesViewController : UITableViewController <TextEntryControllerDelegate, FormViewControllerDelegate> {
@interface FilesViewController : AutorotatingTableViewController <TextEntryControllerDelegate, FormViewControllerDelegate> {
FilesInfoView *filesInfoView;
MiniKeePassAppDelegate *appDelegate;

Expand Down
3 changes: 2 additions & 1 deletion MiniKeePass/FormViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@

#import <UIKit/UIKit.h>
#import "InfoBar.h"
#import "AutorotatingTableViewController.h"

@protocol FormViewControllerDelegate;

@interface FormViewController : UITableViewController <UITextFieldDelegate> {
@interface FormViewController : AutorotatingTableViewController <UITextFieldDelegate> {
NSArray *controls;
NSString *headerTitle;
NSString *footerTitle;
Expand Down
Loading

0 comments on commit a7c5c87

Please sign in to comment.