diff --git a/foam-madness.xcodeproj/project.pbxproj b/foam-madness.xcodeproj/project.pbxproj index 1cb263a..c91a82a 100644 --- a/foam-madness.xcodeproj/project.pbxproj +++ b/foam-madness.xcodeproj/project.pbxproj @@ -441,7 +441,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEVELOPMENT_TEAM = 5X3GA242G5; INFOPLIST_FILE = "foam-madness/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 12.1; @@ -449,7 +449,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.2; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = "com.mvirgo.foam-madness"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; @@ -462,7 +462,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 6; + CURRENT_PROJECT_VERSION = 7; DEVELOPMENT_TEAM = 5X3GA242G5; INFOPLIST_FILE = "foam-madness/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 12.1; @@ -470,7 +470,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.2; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = "com.mvirgo.foam-madness"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; diff --git a/foam-madness/Controller/BracketCreationViewController.swift b/foam-madness/Controller/BracketCreationViewController.swift index 2818767..b22a5c3 100644 --- a/foam-madness/Controller/BracketCreationViewController.swift +++ b/foam-madness/Controller/BracketCreationViewController.swift @@ -175,8 +175,8 @@ class BracketCreationViewController: UIViewController, UITextFieldDelegate { } func createFirstFour() { - // Create all four games - for i in 0...3 { + // Create all First Four games + for i in 0...firstFour.count - 1 { let game = Game(context: context) let gameInfo = firstFour[String(i)]! game.round = 0