From 0491ba3f970ad84ebbc05df751a887e6554ef5c2 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 5 Jun 2012 00:55:02 +0200 Subject: [PATCH] Type improvements and fixes. [IMPROVED] Cleaner handling of types in entities. [FIXED] Lots of little fixes from refactoring and AppCode inspections, throughout. --- .idea/inspectionProfiles/Project_Default.xml | 2 +- External/Pearl | 2 +- MasterPassword-iOS.xcodeproj/project.pbxproj | 48 ++++++------- MasterPassword/MPAppDelegate_Key.m | 5 +- MasterPassword/MPAppDelegate_Store.m | 20 +++--- MasterPassword/MPConfig.h | 2 + MasterPassword/MPElementEntity.h | 4 +- MasterPassword/MPElementEntity.m | 4 +- MasterPassword/MPElementGeneratedEntity.h | 2 +- MasterPassword/MPElementGeneratedEntity.m | 2 +- MasterPassword/MPEntities.h | 18 ++++- MasterPassword/MPEntities.m | 71 ++++++++++++++++--- MasterPassword/MPTypes.m | 4 +- MasterPassword/MPUserEntity.h | 4 +- MasterPassword/MPUserEntity.m | 4 +- .../MasterPassword.xcdatamodel/contents | 10 +-- MasterPassword/iOS/MPAppDelegate.m | 25 +++---- MasterPassword/iOS/MPGuideViewController.m | 2 +- MasterPassword/iOS/MPMainViewController.m | 60 ++++++++-------- .../iOS/MPPreferencesViewController.m | 10 +-- MasterPassword/iOS/MPSearchDelegate.m | 25 ++++--- MasterPassword/iOS/MPTypeViewController.m | 13 +--- MasterPassword/iOS/MPUnlockViewController.m | 9 ++- MasterPassword/iOS/main.m | 2 - Resources/ciphers.plist | 9 ++- 25 files changed, 207 insertions(+), 150 deletions(-) diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 75269f6b..0a16710e 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,6 +3,6 @@