diff --git a/Polling App/Polling App.xcodeproj/project.pbxproj b/Polling App/Polling App.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6661891 --- /dev/null +++ b/Polling App/Polling App.xcodeproj/project.pbxproj @@ -0,0 +1,417 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + C30D24C32166D1B700704E59 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24C22166D1B700704E59 /* AppDelegate.swift */; }; + C30D24C52166D1B700704E59 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24C42166D1B700704E59 /* ViewController.swift */; }; + C30D24C82166D1B700704E59 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C30D24C62166D1B700704E59 /* Main.storyboard */; }; + C30D24CA2166D1BA00704E59 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C30D24C92166D1BA00704E59 /* Assets.xcassets */; }; + C30D24CD2166D1BA00704E59 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C30D24CB2166D1BA00704E59 /* LaunchScreen.storyboard */; }; + C30D24D52166D77600704E59 /* Vote.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24D42166D77600704E59 /* Vote.swift */; }; + C30D24D72166D88000704E59 /* VoteController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24D62166D88000704E59 /* VoteController.swift */; }; + C30D24DD2166DE0400704E59 /* Voting.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C30D24DC2166DE0400704E59 /* Voting.storyboard */; }; + C30D24DF216705D300704E59 /* Results.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C30D24DE216705D300704E59 /* Results.storyboard */; }; + C30D24E12167064500704E59 /* ResultsTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24E02167064500704E59 /* ResultsTableViewController.swift */; }; + C30D24E5216707F600704E59 /* Combined.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C30D24E4216707F600704E59 /* Combined.storyboard */; }; + C30D24E721670CE200704E59 /* CombinedViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24E621670CE200704E59 /* CombinedViewController.swift */; }; + C30D24E921670E8000704E59 /* PollingTabBarViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24E821670E8000704E59 /* PollingTabBarViewController.swift */; }; + C30D24EB2167157700704E59 /* VoteControllerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = C30D24EA2167157700704E59 /* VoteControllerProtocol.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + C30D24BF2166D1B700704E59 /* Polling App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Polling App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + C30D24C22166D1B700704E59 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + C30D24C42166D1B700704E59 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + C30D24C72166D1B700704E59 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + C30D24C92166D1BA00704E59 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + C30D24CC2166D1BA00704E59 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + C30D24CE2166D1BA00704E59 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + C30D24D42166D77600704E59 /* Vote.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Vote.swift; sourceTree = ""; }; + C30D24D62166D88000704E59 /* VoteController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VoteController.swift; sourceTree = ""; }; + C30D24DC2166DE0400704E59 /* Voting.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Voting.storyboard; sourceTree = ""; }; + C30D24DE216705D300704E59 /* Results.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Results.storyboard; sourceTree = ""; }; + C30D24E02167064500704E59 /* ResultsTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResultsTableViewController.swift; sourceTree = ""; }; + C30D24E4216707F600704E59 /* Combined.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Combined.storyboard; sourceTree = ""; }; + C30D24E621670CE200704E59 /* CombinedViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CombinedViewController.swift; sourceTree = ""; }; + C30D24E821670E8000704E59 /* PollingTabBarViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PollingTabBarViewController.swift; sourceTree = ""; }; + C30D24EA2167157700704E59 /* VoteControllerProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VoteControllerProtocol.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C30D24BC2166D1B700704E59 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C30D24B62166D1B600704E59 = { + isa = PBXGroup; + children = ( + C30D24C12166D1B700704E59 /* Polling App */, + C30D24C02166D1B700704E59 /* Products */, + ); + sourceTree = ""; + }; + C30D24C02166D1B700704E59 /* Products */ = { + isa = PBXGroup; + children = ( + C30D24BF2166D1B700704E59 /* Polling App.app */, + ); + name = Products; + sourceTree = ""; + }; + C30D24C12166D1B700704E59 /* Polling App */ = { + isa = PBXGroup; + children = ( + C30D24EC2167158100704E59 /* Protocol + Delegate */, + C30D24D82166D9B300704E59 /* Model + Controller */, + C30D24DB2166D9DF00704E59 /* View Controllers */, + C30D24D92166D9C100704E59 /* Storyboards */, + C30D24DA2166D9CD00704E59 /* Resources */, + ); + path = "Polling App"; + sourceTree = ""; + }; + C30D24D82166D9B300704E59 /* Model + Controller */ = { + isa = PBXGroup; + children = ( + C30D24D62166D88000704E59 /* VoteController.swift */, + C30D24D42166D77600704E59 /* Vote.swift */, + ); + path = "Model + Controller"; + sourceTree = ""; + }; + C30D24D92166D9C100704E59 /* Storyboards */ = { + isa = PBXGroup; + children = ( + C30D24C62166D1B700704E59 /* Main.storyboard */, + C30D24E4216707F600704E59 /* Combined.storyboard */, + C30D24DC2166DE0400704E59 /* Voting.storyboard */, + C30D24DE216705D300704E59 /* Results.storyboard */, + ); + path = Storyboards; + sourceTree = ""; + }; + C30D24DA2166D9CD00704E59 /* Resources */ = { + isa = PBXGroup; + children = ( + C30D24C22166D1B700704E59 /* AppDelegate.swift */, + C30D24C92166D1BA00704E59 /* Assets.xcassets */, + C30D24CB2166D1BA00704E59 /* LaunchScreen.storyboard */, + C30D24CE2166D1BA00704E59 /* Info.plist */, + ); + path = Resources; + sourceTree = ""; + }; + C30D24DB2166D9DF00704E59 /* View Controllers */ = { + isa = PBXGroup; + children = ( + C30D24E821670E8000704E59 /* PollingTabBarViewController.swift */, + C30D24E621670CE200704E59 /* CombinedViewController.swift */, + C30D24E02167064500704E59 /* ResultsTableViewController.swift */, + C30D24C42166D1B700704E59 /* ViewController.swift */, + ); + path = "View Controllers"; + sourceTree = ""; + }; + C30D24EC2167158100704E59 /* Protocol + Delegate */ = { + isa = PBXGroup; + children = ( + C30D24EA2167157700704E59 /* VoteControllerProtocol.swift */, + ); + path = "Protocol + Delegate"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + C30D24BE2166D1B700704E59 /* Polling App */ = { + isa = PBXNativeTarget; + buildConfigurationList = C30D24D12166D1BA00704E59 /* Build configuration list for PBXNativeTarget "Polling App" */; + buildPhases = ( + C30D24BB2166D1B700704E59 /* Sources */, + C30D24BC2166D1B700704E59 /* Frameworks */, + C30D24BD2166D1B700704E59 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Polling App"; + productName = "Polling App"; + productReference = C30D24BF2166D1B700704E59 /* Polling App.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C30D24B72166D1B600704E59 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1000; + LastUpgradeCheck = 1000; + ORGANIZATIONNAME = "Jerrick Warren"; + TargetAttributes = { + C30D24BE2166D1B700704E59 = { + CreatedOnToolsVersion = 10.0; + }; + }; + }; + buildConfigurationList = C30D24BA2166D1B600704E59 /* Build configuration list for PBXProject "Polling App" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = C30D24B62166D1B600704E59; + productRefGroup = C30D24C02166D1B700704E59 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C30D24BE2166D1B700704E59 /* Polling App */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C30D24BD2166D1B700704E59 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C30D24CD2166D1BA00704E59 /* LaunchScreen.storyboard in Resources */, + C30D24DF216705D300704E59 /* Results.storyboard in Resources */, + C30D24CA2166D1BA00704E59 /* Assets.xcassets in Resources */, + C30D24C82166D1B700704E59 /* Main.storyboard in Resources */, + C30D24DD2166DE0400704E59 /* Voting.storyboard in Resources */, + C30D24E5216707F600704E59 /* Combined.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C30D24BB2166D1B700704E59 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C30D24C52166D1B700704E59 /* ViewController.swift in Sources */, + C30D24D72166D88000704E59 /* VoteController.swift in Sources */, + C30D24D52166D77600704E59 /* Vote.swift in Sources */, + C30D24EB2167157700704E59 /* VoteControllerProtocol.swift in Sources */, + C30D24C32166D1B700704E59 /* AppDelegate.swift in Sources */, + C30D24E12167064500704E59 /* ResultsTableViewController.swift in Sources */, + C30D24E721670CE200704E59 /* CombinedViewController.swift in Sources */, + C30D24E921670E8000704E59 /* PollingTabBarViewController.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + C30D24C62166D1B700704E59 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C30D24C72166D1B700704E59 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + C30D24CB2166D1BA00704E59 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + C30D24CC2166D1BA00704E59 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C30D24CF2166D1BA00704E59 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + C30D24D02166D1BA00704E59 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + C30D24D22166D1BA00704E59 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 7JG93VFG2G; + INFOPLIST_FILE = "$(SRCROOT)/Polling App/Resources/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.JerrickWarren.Polling-App"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + C30D24D32166D1BA00704E59 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = 7JG93VFG2G; + INFOPLIST_FILE = "$(SRCROOT)/Polling App/Resources/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.JerrickWarren.Polling-App"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C30D24BA2166D1B600704E59 /* Build configuration list for PBXProject "Polling App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C30D24CF2166D1BA00704E59 /* Debug */, + C30D24D02166D1BA00704E59 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C30D24D12166D1BA00704E59 /* Build configuration list for PBXNativeTarget "Polling App" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C30D24D22166D1BA00704E59 /* Debug */, + C30D24D32166D1BA00704E59 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = C30D24B72166D1B600704E59 /* Project object */; +} diff --git a/Polling App/Polling App.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Polling App/Polling App.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..ef268ce --- /dev/null +++ b/Polling App/Polling App.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Polling App/Polling App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Polling App/Polling App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Polling App/Polling App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Polling App/Polling App.xcodeproj/project.xcworkspace/xcuserdata/welinkton.xcuserdatad/UserInterfaceState.xcuserstate b/Polling App/Polling App.xcodeproj/project.xcworkspace/xcuserdata/welinkton.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..d4df07a Binary files /dev/null and b/Polling App/Polling App.xcodeproj/project.xcworkspace/xcuserdata/welinkton.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Polling App/Polling App.xcodeproj/xcuserdata/welinkton.xcuserdatad/xcschemes/xcschememanagement.plist b/Polling App/Polling App.xcodeproj/xcuserdata/welinkton.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..48b4a5b --- /dev/null +++ b/Polling App/Polling App.xcodeproj/xcuserdata/welinkton.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Polling App.xcscheme + + orderHint + 0 + + + + diff --git a/Polling App/Polling App/Model + Controller/Vote.swift b/Polling App/Polling App/Model + Controller/Vote.swift new file mode 100644 index 0000000..cd0ec7d --- /dev/null +++ b/Polling App/Polling App/Model + Controller/Vote.swift @@ -0,0 +1,20 @@ +// +// Vote.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import Foundation + +class Vote { + var name: String + var response: String + + init(name:String, response:String) { + self.name = name + self.response = response + } +} + diff --git a/Polling App/Polling App/Model + Controller/VoteController.swift b/Polling App/Polling App/Model + Controller/VoteController.swift new file mode 100644 index 0000000..1dd674c --- /dev/null +++ b/Polling App/Polling App/Model + Controller/VoteController.swift @@ -0,0 +1,24 @@ +// +// VoteController.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import Foundation + +class VoteController { + var votes: [Vote] = [] + + + func create (name: String, response: String){ + + let vote = Vote(name: name, response: response) + + votes.append(vote) + + } + + +} diff --git a/Polling App/Polling App/Protocol + Delegate/VoteControllerProtocol.swift b/Polling App/Polling App/Protocol + Delegate/VoteControllerProtocol.swift new file mode 100644 index 0000000..311fd72 --- /dev/null +++ b/Polling App/Polling App/Protocol + Delegate/VoteControllerProtocol.swift @@ -0,0 +1,15 @@ +// +// VoteControllerProtocol.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import Foundation + +protocol VoteControllerProtocol: class { + + var voteController: VoteController? {get set} + +} diff --git a/Polling App/Polling App/Resources/AppDelegate.swift b/Polling App/Polling App/Resources/AppDelegate.swift new file mode 100644 index 0000000..0ce090a --- /dev/null +++ b/Polling App/Polling App/Resources/AppDelegate.swift @@ -0,0 +1,46 @@ +// +// AppDelegate.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + func applicationWillResignActive(_ application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(_ application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(_ application: UIApplication) { + // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(_ application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(_ application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/Polling App/Polling App/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/Polling App/Polling App/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d8db8d6 --- /dev/null +++ b/Polling App/Polling App/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "83.5x83.5", + "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Polling App/Polling App/Resources/Assets.xcassets/Contents.json b/Polling App/Polling App/Resources/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Polling App/Polling App/Resources/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Polling App/Polling App/Resources/Base.lproj/LaunchScreen.storyboard b/Polling App/Polling App/Resources/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..bfa3612 --- /dev/null +++ b/Polling App/Polling App/Resources/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Polling App/Polling App/Resources/Info.plist b/Polling App/Polling App/Resources/Info.plist new file mode 100644 index 0000000..16be3b6 --- /dev/null +++ b/Polling App/Polling App/Resources/Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Polling App/Polling App/Storyboards/Base.lproj/Main.storyboard b/Polling App/Polling App/Storyboards/Base.lproj/Main.storyboard new file mode 100644 index 0000000..7f25477 --- /dev/null +++ b/Polling App/Polling App/Storyboards/Base.lproj/Main.storyboard @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Polling App/Polling App/Storyboards/Combined.storyboard b/Polling App/Polling App/Storyboards/Combined.storyboard new file mode 100644 index 0000000..3e0e60a --- /dev/null +++ b/Polling App/Polling App/Storyboards/Combined.storyboard @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Polling App/Polling App/Storyboards/Results.storyboard b/Polling App/Polling App/Storyboards/Results.storyboard new file mode 100644 index 0000000..4f2a816 --- /dev/null +++ b/Polling App/Polling App/Storyboards/Results.storyboard @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Polling App/Polling App/Storyboards/Voting.storyboard b/Polling App/Polling App/Storyboards/Voting.storyboard new file mode 100644 index 0000000..22a439e --- /dev/null +++ b/Polling App/Polling App/Storyboards/Voting.storyboard @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Polling App/Polling App/View Controllers/CombinedViewController.swift b/Polling App/Polling App/View Controllers/CombinedViewController.swift new file mode 100644 index 0000000..a648917 --- /dev/null +++ b/Polling App/Polling App/View Controllers/CombinedViewController.swift @@ -0,0 +1,20 @@ +// +// CombinedViewController.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import UIKit + +class CombinedViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // Do any additional setup after loading the view. + } + + +} diff --git a/Polling App/Polling App/View Controllers/PollingTabBarViewController.swift b/Polling App/Polling App/View Controllers/PollingTabBarViewController.swift new file mode 100644 index 0000000..945005d --- /dev/null +++ b/Polling App/Polling App/View Controllers/PollingTabBarViewController.swift @@ -0,0 +1,15 @@ +// +// PollingTabBarViewController.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import Foundation +import UIKit + +class PollingTabBarViewController: UITabBarController { + + +} diff --git a/Polling App/Polling App/View Controllers/ResultsTableViewController.swift b/Polling App/Polling App/View Controllers/ResultsTableViewController.swift new file mode 100644 index 0000000..30bffbf --- /dev/null +++ b/Polling App/Polling App/View Controllers/ResultsTableViewController.swift @@ -0,0 +1,14 @@ +// +// ResultsTableViewController.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import Foundation +import UIKit + +class ResultsTableViewController: UITableViewController { + +} diff --git a/Polling App/Polling App/View Controllers/ViewController.swift b/Polling App/Polling App/View Controllers/ViewController.swift new file mode 100644 index 0000000..da773da --- /dev/null +++ b/Polling App/Polling App/View Controllers/ViewController.swift @@ -0,0 +1,20 @@ +// +// ViewController.swift +// Polling App +// +// Created by Welinkton on 10/4/18. +// Copyright © 2018 Jerrick Warren. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + +} +