From 8c31d7ad36ee9d39c3e864263eebbec290ebaed1 Mon Sep 17 00:00:00 2001 From: Kilian Hofmann Date: Sat, 19 Mar 2016 22:32:10 +0100 Subject: [PATCH] View Implemented in IB. --- FMC Planner 2.xcodeproj/project.pbxproj | 7 + .../xcdebugger/Breakpoints_v2.xcbkptlist | 23 + FMC Planner 2/Base.lproj/Main.storyboard | 680 +++++++++++++++++- FMC Planner 2/Info.plist | 2 - FMC Planner 2/ViewController.m | 12 +- 5 files changed, 713 insertions(+), 11 deletions(-) create mode 100644 FMC Planner 2.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist diff --git a/FMC Planner 2.xcodeproj/project.pbxproj b/FMC Planner 2.xcodeproj/project.pbxproj index 6c4a1c2..aa0ad9c 100644 --- a/FMC Planner 2.xcodeproj/project.pbxproj +++ b/FMC Planner 2.xcodeproj/project.pbxproj @@ -416,10 +416,12 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; INFOPLIST_FILE = "FMC Planner 2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.weebly.alikja.FMC-Planner-2"; PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -427,10 +429,12 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; INFOPLIST_FILE = "FMC Planner 2/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.weebly.alikja.FMC-Planner-2"; PRODUCT_NAME = "$(TARGET_NAME)"; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; @@ -501,6 +505,7 @@ E22EE9FB1C9DB7B4001F5BC0 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; E22EE9FC1C9DB7B4001F5BC0 /* Build configuration list for PBXNativeTarget "FMC Planner 2Tests" */ = { isa = XCConfigurationList; @@ -509,6 +514,7 @@ E22EE9FE1C9DB7B4001F5BC0 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; E22EE9FF1C9DB7B4001F5BC0 /* Build configuration list for PBXNativeTarget "FMC Planner 2UITests" */ = { isa = XCConfigurationList; @@ -517,6 +523,7 @@ E22EEA011C9DB7B4001F5BC0 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/FMC Planner 2.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/FMC Planner 2.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..55989ea --- /dev/null +++ b/FMC Planner 2.xcodeproj/xcuserdata/Kili2.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,23 @@ + + + + + + + + + diff --git a/FMC Planner 2/Base.lproj/Main.storyboard b/FMC Planner 2/Base.lproj/Main.storyboard index f56d2f3..35fb49f 100644 --- a/FMC Planner 2/Base.lproj/Main.storyboard +++ b/FMC Planner 2/Base.lproj/Main.storyboard @@ -1,25 +1,695 @@ - + - + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FMC Planner 2/Info.plist b/FMC Planner 2/Info.plist index 40c6215..0ca4d80 100644 --- a/FMC Planner 2/Info.plist +++ b/FMC Planner 2/Info.plist @@ -33,8 +33,6 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight UISupportedInterfaceOrientations~ipad diff --git a/FMC Planner 2/ViewController.m b/FMC Planner 2/ViewController.m index a7d71e3..93550c8 100644 --- a/FMC Planner 2/ViewController.m +++ b/FMC Planner 2/ViewController.m @@ -8,6 +8,10 @@ #import "ViewController.h" +int SPACING = 10; +int NUM_BUTTONS_PER_ROW = 5; +int NUM_ROWS_OF_BUTTON = 6; + @interface ViewController () @end @@ -15,13 +19,13 @@ @implementation ViewController - (void)viewDidLoad { - [super viewDidLoad]; - // Do any additional setup after loading the view, typically from a nib. + [super viewDidLoad]; + // Do any additional setup after loading the view, typically from a nib. } - (void)didReceiveMemoryWarning { - [super didReceiveMemoryWarning]; - // Dispose of any resources that can be recreated. + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. } @end