diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bb367c --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated +build/ +DerivedData + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata + +## Other +*.xccheckout +*.moved-aside +*.xcuserstate +*.xcscmblueprint + +## Obj-C/Swift specific +*.hmap +*.ipa + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +#Pods/ + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build +.DS_Store \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator.xcodeproj/project.pbxproj b/CharacterGenerator/CharacterGenerator.xcodeproj/project.pbxproj index ef96f37..43eee64 100644 --- a/CharacterGenerator/CharacterGenerator.xcodeproj/project.pbxproj +++ b/CharacterGenerator/CharacterGenerator.xcodeproj/project.pbxproj @@ -7,13 +7,17 @@ objects = { /* Begin PBXBuildFile section */ + 29E7BD4A1B7593AC00BF40EC /* WendPlanCharacter.m in Sources */ = {isa = PBXBuildFile; fileRef = 29E7BD491B7593AC00BF40EC /* WendPlanCharacter.m */; }; 8D7B0FFB1B6E6FC6003F4FB8 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D7B0FFA1B6E6FC6003F4FB8 /* main.m */; }; 8D7B0FFE1B6E6FC6003F4FB8 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D7B0FFD1B6E6FC6003F4FB8 /* AppDelegate.m */; }; - 8D7B10011B6E6FC6003F4FB8 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D7B10001B6E6FC6003F4FB8 /* ViewController.m */; }; 8D7B10041B6E6FC6003F4FB8 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8D7B10021B6E6FC6003F4FB8 /* Main.storyboard */; }; 8D7B10061B6E6FC6003F4FB8 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8D7B10051B6E6FC6003F4FB8 /* Images.xcassets */; }; 8D7B10091B6E6FC6003F4FB8 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8D7B10071B6E6FC6003F4FB8 /* LaunchScreen.xib */; }; 8D7B10151B6E6FC6003F4FB8 /* CharacterGeneratorTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8D7B10141B6E6FC6003F4FB8 /* CharacterGeneratorTests.m */; }; + 9A4F3B881B6EBEDC0009DD28 /* MainTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A4F3B871B6EBEDC0009DD28 /* MainTableViewController.m */; }; + 9A4F3BC61B6FE31E0009DD28 /* CreatePageTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A4F3BC51B6FE31E0009DD28 /* CreatePageTableViewController.m */; }; + 9A4F3BC91B6FFFA20009DD28 /* ResultsPageViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A4F3BC81B6FFFA20009DD28 /* ResultsPageViewController.m */; }; + 9AA50A431B72E11800B368DF /* weekendPlans.m in Sources */ = {isa = PBXBuildFile; fileRef = 9AA50A421B72E11800B368DF /* weekendPlans.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -27,19 +31,27 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 29E7BD481B7593AC00BF40EC /* WendPlanCharacter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WendPlanCharacter.h; sourceTree = ""; }; + 29E7BD491B7593AC00BF40EC /* WendPlanCharacter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WendPlanCharacter.m; sourceTree = ""; }; 8D7B0FF51B6E6FC6003F4FB8 /* CharacterGenerator.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CharacterGenerator.app; sourceTree = BUILT_PRODUCTS_DIR; }; 8D7B0FF91B6E6FC6003F4FB8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 8D7B0FFA1B6E6FC6003F4FB8 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 8D7B0FFC1B6E6FC6003F4FB8 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 8D7B0FFD1B6E6FC6003F4FB8 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - 8D7B0FFF1B6E6FC6003F4FB8 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; - 8D7B10001B6E6FC6003F4FB8 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 8D7B10031B6E6FC6003F4FB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 8D7B10051B6E6FC6003F4FB8 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 8D7B10081B6E6FC6003F4FB8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 8D7B100E1B6E6FC6003F4FB8 /* CharacterGeneratorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CharacterGeneratorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 8D7B10131B6E6FC6003F4FB8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 8D7B10141B6E6FC6003F4FB8 /* CharacterGeneratorTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CharacterGeneratorTests.m; sourceTree = ""; }; + 9A4F3B861B6EBEDC0009DD28 /* MainTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainTableViewController.h; sourceTree = ""; }; + 9A4F3B871B6EBEDC0009DD28 /* MainTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainTableViewController.m; sourceTree = ""; }; + 9A4F3BC41B6FE31E0009DD28 /* CreatePageTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CreatePageTableViewController.h; path = ../CreatePageTableViewController.h; sourceTree = ""; }; + 9A4F3BC51B6FE31E0009DD28 /* CreatePageTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CreatePageTableViewController.m; path = ../CreatePageTableViewController.m; sourceTree = ""; }; + 9A4F3BC71B6FFFA20009DD28 /* ResultsPageViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResultsPageViewController.h; sourceTree = ""; }; + 9A4F3BC81B6FFFA20009DD28 /* ResultsPageViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ResultsPageViewController.m; sourceTree = ""; }; + 9AA50A411B72E11800B368DF /* weekendPlans.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = weekendPlans.h; sourceTree = ""; }; + 9AA50A421B72E11800B368DF /* weekendPlans.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = weekendPlans.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -83,9 +95,17 @@ children = ( 8D7B0FFC1B6E6FC6003F4FB8 /* AppDelegate.h */, 8D7B0FFD1B6E6FC6003F4FB8 /* AppDelegate.m */, - 8D7B0FFF1B6E6FC6003F4FB8 /* ViewController.h */, - 8D7B10001B6E6FC6003F4FB8 /* ViewController.m */, 8D7B10021B6E6FC6003F4FB8 /* Main.storyboard */, + 29E7BD481B7593AC00BF40EC /* WendPlanCharacter.h */, + 29E7BD491B7593AC00BF40EC /* WendPlanCharacter.m */, + 9A4F3B861B6EBEDC0009DD28 /* MainTableViewController.h */, + 9A4F3B871B6EBEDC0009DD28 /* MainTableViewController.m */, + 9AA50A411B72E11800B368DF /* weekendPlans.h */, + 9AA50A421B72E11800B368DF /* weekendPlans.m */, + 9A4F3BC41B6FE31E0009DD28 /* CreatePageTableViewController.h */, + 9A4F3BC51B6FE31E0009DD28 /* CreatePageTableViewController.m */, + 9A4F3BC71B6FFFA20009DD28 /* ResultsPageViewController.h */, + 9A4F3BC81B6FFFA20009DD28 /* ResultsPageViewController.m */, 8D7B10051B6E6FC6003F4FB8 /* Images.xcassets */, 8D7B10071B6E6FC6003F4FB8 /* LaunchScreen.xib */, 8D7B0FF81B6E6FC6003F4FB8 /* Supporting Files */, @@ -219,8 +239,12 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 8D7B10011B6E6FC6003F4FB8 /* ViewController.m in Sources */, + 9A4F3B881B6EBEDC0009DD28 /* MainTableViewController.m in Sources */, 8D7B0FFE1B6E6FC6003F4FB8 /* AppDelegate.m in Sources */, + 9A4F3BC91B6FFFA20009DD28 /* ResultsPageViewController.m in Sources */, + 9A4F3BC61B6FE31E0009DD28 /* CreatePageTableViewController.m in Sources */, + 29E7BD4A1B7593AC00BF40EC /* WendPlanCharacter.m in Sources */, + 9AA50A431B72E11800B368DF /* weekendPlans.m in Sources */, 8D7B0FFB1B6E6FC6003F4FB8 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -418,6 +442,7 @@ 8D7B101A1B6E6FC6003F4FB8 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 8D7B101B1B6E6FC6003F4FB8 /* Build configuration list for PBXNativeTarget "CharacterGeneratorTests" */ = { isa = XCConfigurationList; @@ -426,6 +451,7 @@ 8D7B101D1B6E6FC6003F4FB8 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/CharacterGenerator/CharacterGenerator.xcodeproj/project.xcworkspace/xcuserdata/mikekavouras.xcuserdatad/UserInterfaceState.xcuserstate b/CharacterGenerator/CharacterGenerator.xcodeproj/project.xcworkspace/xcuserdata/mikekavouras.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index cbe3c12..0000000 Binary files a/CharacterGenerator/CharacterGenerator.xcodeproj/project.xcworkspace/xcuserdata/mikekavouras.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/CharacterGenerator.xcscheme b/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/CharacterGenerator.xcscheme deleted file mode 100644 index d7eb085..0000000 --- a/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/CharacterGenerator.xcscheme +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/xcschememanagement.plist b/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index b37a61c..0000000 --- a/CharacterGenerator/CharacterGenerator.xcodeproj/xcuserdata/mikekavouras.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,27 +0,0 @@ - - - - - SchemeUserState - - CharacterGenerator.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - 8D7B0FF41B6E6FC6003F4FB8 - - primary - - - 8D7B100D1B6E6FC6003F4FB8 - - primary - - - - - diff --git a/CharacterGenerator/CharacterGenerator/Base.lproj/Main.storyboard b/CharacterGenerator/CharacterGenerator/Base.lproj/Main.storyboard index d912f9d..a287d1b 100644 --- a/CharacterGenerator/CharacterGenerator/Base.lproj/Main.storyboard +++ b/CharacterGenerator/CharacterGenerator/Base.lproj/Main.storyboard @@ -1,25 +1,681 @@ - + - + + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/00FF00.png b/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/00FF00.png new file mode 100644 index 0000000..23cebff Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/00FF00.png differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/Contents.json new file mode 100644 index 0000000..ca917eb --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/00FF00.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "00FF00.png" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Contents.json new file mode 100644 index 0000000..e4fe298 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "Lupita Nyongo.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Lupita Nyongo.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Lupita Nyongo.jpg new file mode 100644 index 0000000..b601bcb Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/Lupita Nyongo.imageset/Lupita Nyongo.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Contents.json new file mode 100644 index 0000000..31f9ace --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "Shia lebouf.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Shia lebouf.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Shia lebouf.jpg new file mode 100644 index 0000000..e6e719f Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/Shia lebouf.imageset/Shia lebouf.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Contents.json new file mode 100644 index 0000000..9dcc8f8 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "Steve Yeun.png" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Steve Yeun.png b/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Steve Yeun.png new file mode 100644 index 0000000..b8e022a Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/Steve Yeun.imageset/Steve Yeun.png differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/Contents.json new file mode 100644 index 0000000..0d7c516 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "alcohol.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/alcohol.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/alcohol.jpg new file mode 100644 index 0000000..5c5b6af Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/alcohol.imageset/alcohol.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/Contents.json new file mode 100644 index 0000000..049c3ce --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "angryemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/angryemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/angryemoji.jpg new file mode 100644 index 0000000..40569e7 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/angryemoji.imageset/angryemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/Contents.json new file mode 100644 index 0000000..f88e521 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "beach.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/beach.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/beach.jpg new file mode 100644 index 0000000..c8183e0 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/beach.imageset/beach.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/Contents.json new file mode 100644 index 0000000..975e672 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "burrito.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/burrito.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/burrito.jpg new file mode 100644 index 0000000..97ebe83 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/burrito.imageset/burrito.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/Contents.json new file mode 100644 index 0000000..a7a5611 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "chocolate.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/chocolate.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/chocolate.jpg new file mode 100644 index 0000000..d194786 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/chocolate.imageset/chocolate.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/Contents.json new file mode 100644 index 0000000..1952f0f --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "crazyemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/crazyemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/crazyemoji.jpg new file mode 100644 index 0000000..a087926 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/crazyemoji.imageset/crazyemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/Contents.json new file mode 100644 index 0000000..01892e0 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "crossarmsemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/crossarmsemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/crossarmsemoji.jpg new file mode 100644 index 0000000..4b49eff Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/crossarmsemoji.imageset/crossarmsemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/Contents.json new file mode 100644 index 0000000..360fd3d --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "dwayne-johnson.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/dwayne-johnson.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/dwayne-johnson.jpg new file mode 100644 index 0000000..5894599 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/dwayne-johnson.imageset/dwayne-johnson.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/Contents.json new file mode 100644 index 0000000..3d43159 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "fireemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/fireemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/fireemoji.jpg new file mode 100644 index 0000000..9566a06 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/fireemoji.imageset/fireemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/Contents.json new file mode 100644 index 0000000..8a05c71 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "grandma.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/grandma.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/grandma.jpg new file mode 100644 index 0000000..3a53c62 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/grandma.imageset/grandma.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/Contents.json new file mode 100644 index 0000000..50e8053 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "jennifer-lawrence-300.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/jennifer-lawrence-300.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/jennifer-lawrence-300.jpg new file mode 100644 index 0000000..ae1fa21 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/jennifer-lawrence-300.imageset/jennifer-lawrence-300.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/Contents.json new file mode 100644 index 0000000..e658667 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "kale.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/kale.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/kale.jpg new file mode 100644 index 0000000..52ef744 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/kale.imageset/kale.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/Contents.json new file mode 100644 index 0000000..727219c --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "kissemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/kissemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/kissemoji.jpg new file mode 100644 index 0000000..64258b2 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/kissemoji.imageset/kissemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/Contents.json new file mode 100644 index 0000000..c05ed18 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "library.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/library.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/library.jpg new file mode 100644 index 0000000..08e48d3 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/library.imageset/library.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/Contents.json new file mode 100644 index 0000000..ba9b7cd --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "macNcheese.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/macNcheese.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/macNcheese.jpg new file mode 100644 index 0000000..57362db Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/macNcheese.imageset/macNcheese.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/Contents.json new file mode 100644 index 0000000..e0cc402 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "netflix.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/netflix.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/netflix.jpg new file mode 100644 index 0000000..8ef93a2 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/netflix.imageset/netflix.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/Contents.json new file mode 100644 index 0000000..8803401 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "nightclub.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/nightclub.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/nightclub.jpg new file mode 100644 index 0000000..1af4d84 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/nightclub.imageset/nightclub.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/Contents.json new file mode 100644 index 0000000..4fd864b --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "partyconeemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/partyconeemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/partyconeemoji.jpg new file mode 100644 index 0000000..73deb84 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/partyconeemoji.imageset/partyconeemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/Contents.json new file mode 100644 index 0000000..4ba528b --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "pizza.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/pizza.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/pizza.jpg new file mode 100644 index 0000000..034e8b9 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza-1.imageset/pizza.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/Contents.json new file mode 100644 index 0000000..c62d771 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "pizza.png" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/pizza.png b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/pizza.png new file mode 100644 index 0000000..fbce89d Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/pizza.imageset/pizza.png differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/Contents.json new file mode 100644 index 0000000..bb930bb --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "poop emoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/poop emoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/poop emoji.jpg new file mode 100644 index 0000000..8310253 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji-1.imageset/poop emoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/Contents.json new file mode 100644 index 0000000..bb930bb --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "poop emoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/poop emoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/poop emoji.jpg new file mode 100644 index 0000000..8310253 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/poop emoji.imageset/poop emoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/Contents.json new file mode 100644 index 0000000..092e71f --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "roadTrip.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/roadTrip.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/roadTrip.jpg new file mode 100644 index 0000000..4e5c5c5 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/roadTrip.imageset/roadTrip.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/Contents.json new file mode 100644 index 0000000..ed66b9d --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "sandwich.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/sandwich.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/sandwich.jpg new file mode 100644 index 0000000..add4182 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/sandwich.imageset/sandwich.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/Contents.json new file mode 100644 index 0000000..8e58a7c --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "sofia vergara.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/sofia vergara.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/sofia vergara.jpg new file mode 100644 index 0000000..09b0938 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/sofia vergara.imageset/sofia vergara.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/Contents.json b/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/Contents.json new file mode 100644 index 0000000..85ad087 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x", + "filename" : "tearemoji.jpg" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/tearemoji.jpg b/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/tearemoji.jpg new file mode 100644 index 0000000..8632b39 Binary files /dev/null and b/CharacterGenerator/CharacterGenerator/Images.xcassets/tearemoji.imageset/tearemoji.jpg differ diff --git a/CharacterGenerator/CharacterGenerator/MainTableViewController.h b/CharacterGenerator/CharacterGenerator/MainTableViewController.h new file mode 100644 index 0000000..74036e6 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/MainTableViewController.h @@ -0,0 +1,20 @@ +// +// MainTableViewController.h +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/2/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import +#import "weekendPlans.h" + +@interface MainTableViewController : UITableViewController + +@property (nonatomic) NSMutableArray *titles; +@property (nonatomic) weekendPlans *model; //the same object and property can exist/belong to multiple vc + +//new code below +@property (nonatomic) NSMutableArray *wendPlansObjects; + +@end diff --git a/CharacterGenerator/CharacterGenerator/MainTableViewController.m b/CharacterGenerator/CharacterGenerator/MainTableViewController.m new file mode 100644 index 0000000..c7cd86e --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/MainTableViewController.m @@ -0,0 +1,79 @@ +// +// MainTableViewController.m +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/2/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import "MainTableViewController.h" +#import "weekendPlans.h" +#import "CreatePageTableViewController.h" +#import "WendPlanCharacter.h" +#import "ResultsPageViewController.h" + +@interface MainTableViewController () + +@end + +@implementation MainTableViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + + self.model = [[weekendPlans alloc]init]; + [self.model initializeData]; + + self.wendPlansObjects = [[NSMutableArray alloc]init]; //move to results + + NSMutableArray *titles = [[NSMutableArray alloc] init]; + self.titles = titles; //property titles (to the left from the equal sign) equals to NSMutableArray *titles on line right above it) + +} + +- (void)viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; + + [self.tableView reloadData]; +} + +-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { + + if ([segue.destinationViewController isKindOfClass:[CreatePageTableViewController class]]) { + CreatePageTableViewController *createController = (CreatePageTableViewController *)segue.destinationViewController; + createController.titles = self.titles; + } else { + NSIndexPath *ip = [self.tableView indexPathForSelectedRow]; + WendPlanCharacter *character = [self.titles objectAtIndex:ip.row]; + ResultsPageViewController *resultsController = (ResultsPageViewController *)segue.destinationViewController; + resultsController.character = character; + } + //we need to create a segue vc that will carry on the same properties as the sender vc + //this table vc passes then the NSMutableArray property to the segue vc +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; +} + +#pragma mark - Table view data source + +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + return 1; +} + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + return self.titles.count; +} + + +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"reuseIdentifier"forIndexPath:indexPath]; + + WendPlanCharacter *title = [self.titles objectAtIndex:indexPath.row]; + cell.textLabel.text = title.titleString; + cell.imageView.image = title.plansImage; + return cell; +} + +@end diff --git a/CharacterGenerator/CharacterGenerator/ResultsPageViewController.h b/CharacterGenerator/CharacterGenerator/ResultsPageViewController.h new file mode 100644 index 0000000..a1b3b8c --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/ResultsPageViewController.h @@ -0,0 +1,37 @@ +// +// ResultsPageViewController.h +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/3/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import +#import "weekendPlans.h" +#import "CreatePageTableViewController.h" +#import "WendPlanCharacter.h" + +@interface ResultsPageViewController : UIViewController + +@property (nonatomic) WendPlanCharacter *character; + +@property (nonatomic) NSString *planOne; +@property (nonatomic) NSString *planTwo; +@property (nonatomic) NSString *planThree; +@property (nonatomic) NSString *planFour; +@property (weak, nonatomic) IBOutlet UIImageView *plansImageView; + +@property (weak, nonatomic) IBOutlet UILabel *labelPlans; +@property (weak, nonatomic) IBOutlet UILabel *labelCeleb; +@property (weak, nonatomic) IBOutlet UILabel *labelFood; +@property (weak, nonatomic) IBOutlet UILabel *labelAlcohol; +@property (nonatomic) weekendPlans *model;//not sure yet if it's needed here, may be deleted later but not now :) +@property (nonatomic) NSMutableArray *titles;//not sure yet if it's needed here, may be deleted later but not now :) + +@property (weak, nonatomic) IBOutlet UIButton *HomeButton; + +//new code +@property (nonatomic) WendPlanCharacter *planCharacter; +@property (nonatomic) NSMutableArray *wendPlansObjects; + +@end diff --git a/CharacterGenerator/CharacterGenerator/ResultsPageViewController.m b/CharacterGenerator/CharacterGenerator/ResultsPageViewController.m new file mode 100644 index 0000000..d3f6097 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/ResultsPageViewController.m @@ -0,0 +1,44 @@ +// +// ResultsPageViewController.m +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/3/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import "ResultsPageViewController.h" +#import "weekendPlans.h" +#import "CreatePageTableViewController.h" +#import "WendPlanCharacter.h" + +@interface ResultsPageViewController () + +@end + +@implementation ResultsPageViewController +- (IBAction)buttonTapped:(UIButton *)sender { //Home Button tapped + + [self.navigationController popToRootViewControllerAnimated:YES]; + +} + +- (void)viewDidLoad { + [super viewDidLoad]; + + self.labelPlans.text = self.character.planString; + self.labelCeleb.text = self.character.celebString; + self.labelFood.text = self.character.foodString; + self.labelAlcohol.text = self.character.alcoholString; + self.plansImageView.image = self.character.plansImage; + + + [self.view reloadInputViews]; + +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; +} + + +@end diff --git a/CharacterGenerator/CharacterGenerator/ViewController.h b/CharacterGenerator/CharacterGenerator/ViewController.h deleted file mode 100644 index c2c219d..0000000 --- a/CharacterGenerator/CharacterGenerator/ViewController.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// ViewController.h -// CharacterGenerator -// -// Created by Michael Kavouras on 8/2/15. -// Copyright (c) 2015 Mike Kavouras. All rights reserved. -// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/CharacterGenerator/CharacterGenerator/ViewController.m b/CharacterGenerator/CharacterGenerator/ViewController.m deleted file mode 100644 index 6196617..0000000 --- a/CharacterGenerator/CharacterGenerator/ViewController.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// ViewController.m -// CharacterGenerator -// -// Created by Michael Kavouras on 8/2/15. -// Copyright (c) 2015 Mike Kavouras. All rights reserved. -// - -#import "ViewController.h" - -@interface ViewController () - -@end - -@implementation ViewController - -- (void)viewDidLoad { - [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. -} - -@end diff --git a/CharacterGenerator/CharacterGenerator/WendPlanCharacter.h b/CharacterGenerator/CharacterGenerator/WendPlanCharacter.h new file mode 100644 index 0000000..ccfb3fe --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/WendPlanCharacter.h @@ -0,0 +1,23 @@ +// +// wendPlanCharacter.h +// CharacterGenerator +// +// Created by Ayuna Vogel on 8/7/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import +#import + + +@interface WendPlanCharacter : NSObject + +@property (nonatomic) NSString *planString; +@property (nonatomic) NSString *celebString; +@property (nonatomic) NSString *foodString; +@property (nonatomic) NSString *alcoholString; +@property (nonatomic) NSInteger number; +@property (nonatomic) NSString *titleString; +@property (nonatomic, strong) UIImage *plansImage; + +@end diff --git a/CharacterGenerator/CharacterGenerator/WendPlanCharacter.m b/CharacterGenerator/CharacterGenerator/WendPlanCharacter.m new file mode 100644 index 0000000..f619efb --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/WendPlanCharacter.m @@ -0,0 +1,13 @@ +// +// wendPlanCharacter.m +// CharacterGenerator +// +// Created by Ayuna Vogel on 8/7/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import "WendPlanCharacter.h" + +@implementation WendPlanCharacter + +@end diff --git a/CharacterGenerator/CharacterGenerator/weekendPlans.h b/CharacterGenerator/CharacterGenerator/weekendPlans.h new file mode 100644 index 0000000..a9b8604 --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/weekendPlans.h @@ -0,0 +1,20 @@ +// +// weekendPlans.h +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/5/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import + +@interface weekendPlans : NSObject + +-(void) initializeData; +@property (nonatomic) NSArray * weekendPlans; +@property (nonatomic) NSArray * celebrity; +@property (nonatomic) NSArray * food; +@property (nonatomic) NSArray * alcohol; +@property (nonatomic) NSArray * titles; + +@end diff --git a/CharacterGenerator/CharacterGenerator/weekendPlans.m b/CharacterGenerator/CharacterGenerator/weekendPlans.m new file mode 100644 index 0000000..f1d00bc --- /dev/null +++ b/CharacterGenerator/CharacterGenerator/weekendPlans.m @@ -0,0 +1,93 @@ +// +// weekendPlans.m +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/5/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import "weekendPlans.h" + +@implementation weekendPlans + +-(void) initializeData { + + [self initializeWeekendPlans]; + [self initializeCelebrity]; + [self initializeFood]; + [self initializeAlcohol]; + [self initializeTitles]; +} + +-(void) initializeWeekendPlans { + + self.weekendPlans = @[ + @"You will hang out at the library.", + @"You will go to the beach.", + @"You will go on a road trip!", + @"Your grandma will call and ask you to help her clean the house. Lame.", + @"You will stay home and binge on Netflix", + @"You will hit up the hottest club in the city!" + ]; + +} + + +-(void) initializeCelebrity { + + self.celebrity = @[ + @"Guess what? Shia Lebouf wants to come along. Uh oh. This might be crazy...", + @"Whoa! J-Law just sent you a text and wants to chill! Noice!", + @"Steve Yeun just Slacked you - he's bored and needs a buddy! He's coming to hang!", + @"Yo! Lupita Nyong'o wants to tag along!", + @"Dwayne Johnson wants to chill! The Rock?! Sweet!", + @"Sofia Vergara just hit you up on the iMessage, 'aye dios mio I'm bored. Lez cheel!'", + ]; + +} + +- (void) initializeFood { + + self.food = @[ + @"Then you remember you have a whole jug of Nutella. Not bad.", + @"Surprise! They brought you mac N cheese! What a buddy!", + @"You have nothing but sandwiches to eat, though. Great...", + @"First, you pick up some artichoke pizza...amazing.", + @"Nothing but kale in the fridge...make KALE CHIPS!", + @"You both suddenly crave Chipotle. You get distracted from your plans. Chipotle is now priority.", + ]; + + +} + +- (void) initializeAlcohol { + + self.alcohol = @[ + @"You two just quietly read your books until the library closes. Yay...", + @"And you two have a nice sober time at the beach...", + @"And nobody brought beer. Good. Because driving and booze are a no-no.", + @"Your grandma appreciates no drinking in her living. Good grandchild.", + @"You guys watch House Of Cards which is already pretty boring without alcohol...", + @"Wow...you're at Pacha and you're not having a cocktail?! SMH.", + @"You sneaked in a little flask to the library. After a few swigs both of you are laughing loudly and getting shushed! You two dance on the tables, and that's when the librarian kicks you out!", + @"You brought a cooler full of Natty Ice on the beach. Nothing like surfing tipsy! Woo!", + @"Don't drink and drive! Just don't.", + @"Both of you bust open grandma's little liquor cabinet and party! Sometimes Grandma likes to let loose - it reminds her of the 50's!", + @"You crack open some Coronas and you have yourself a Jean-Claude Van Damme-a-thon! Bloodsport!", + @"You just dropped $200 on drinks. Dang should've pre-gamed. Reminder: clubs are wack.", + ]; +} + +-(void) initializeTitles { + self.titles = @[ + @"Read a book", + @"Beach", + @"Road trip", + @"Grandma", + @"Netflix", + @"Party" + ]; +} + + +@end diff --git a/CharacterGenerator/CreatePageTableViewController.h b/CharacterGenerator/CreatePageTableViewController.h new file mode 100644 index 0000000..0014557 --- /dev/null +++ b/CharacterGenerator/CreatePageTableViewController.h @@ -0,0 +1,56 @@ +// +// CreatePageTableViewController.h +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/3/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import +#import "weekendPlans.h" +#import "MainTableViewController.h" +#import "WendPlanCharacter.h" + +@interface CreatePageTableViewController : UITableViewController + +@property (nonatomic) NSString *plans; +@property (nonatomic) NSString *celeb; +@property (nonatomic) NSString *food; +@property (nonatomic) NSString *alcohol; +@property (strong, nonatomic) UIImage *planImage; + +@property (nonatomic) NSMutableArray *titles; +@property (nonatomic) weekendPlans *model; + +@property (nonatomic) NSString *titleToDisplayInMainTableVC; +//new code below +@property (nonatomic) WendPlanCharacter *planCharacter; +@property (nonatomic) NSMutableArray *wendPlansObjects; + + +// Emoji Buttons +@property (weak, nonatomic) IBOutlet UIButton *angryEmojiButton; +@property (weak, nonatomic) IBOutlet UIButton *crazyEmojiButton; +@property (weak, nonatomic) IBOutlet UIButton *kissEmojiButton; +@property (weak, nonatomic) IBOutlet UIButton *poopEmojiButton; +@property (weak, nonatomic) IBOutlet UIButton *tearsEmojiButton; +@property (weak, nonatomic) IBOutlet UIButton *fireEmojiButton; +// Food Buttons +@property (weak, nonatomic) IBOutlet UIButton *chocolateFoodButton; +@property (weak, nonatomic) IBOutlet UIButton *macFoodButton; +@property (weak, nonatomic) IBOutlet UIButton *sandwichFoodButton; +@property (weak, nonatomic) IBOutlet UIButton *pizzaFoodButton; +@property (weak, nonatomic) IBOutlet UIButton *kaleFoodButton; +@property (weak, nonatomic) IBOutlet UIButton *burritoFoodButton; +// Celebrity Buttons +@property (weak, nonatomic) IBOutlet UIButton *shiaCelebButton; +@property (weak, nonatomic) IBOutlet UIButton *jLawCelebButton; +@property (weak, nonatomic) IBOutlet UIButton *steveYeunCelebButton; +@property (weak, nonatomic) IBOutlet UIButton *lupitaCelebButton; +@property (weak, nonatomic) IBOutlet UIButton *theRockCelebButton; +@property (weak, nonatomic) IBOutlet UIButton *sofiaVergaraCelebButton; +// Alcohol UI Switch +@property (weak, nonatomic) IBOutlet UISwitch *alcoholSwitch; + + +@end diff --git a/CharacterGenerator/CreatePageTableViewController.m b/CharacterGenerator/CreatePageTableViewController.m new file mode 100644 index 0000000..c9c2f23 --- /dev/null +++ b/CharacterGenerator/CreatePageTableViewController.m @@ -0,0 +1,305 @@ +// +// CreatePageTableViewController.m +// CharacterGenerator +// +// Created by Jamaal Sedayao on 8/3/15. +// Copyright (c) 2015 Mike Kavouras. All rights reserved. +// + +#import "CreatePageTableViewController.h" +#import "ResultsPageViewController.h" +#import "MainTableViewController.h" +#import "WendPlanCharacter.h" + +@interface CreatePageTableViewController () + +@end + +@implementation CreatePageTableViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + + self.model = [[weekendPlans alloc] init]; + [self.model initializeData]; + + [self.alcoholSwitch setOn:NO animated:YES]; + + //new lines of code + self.planCharacter = [[WendPlanCharacter alloc]init]; + NSMutableArray *wendPlansObjects = [[NSMutableArray alloc]init]; + self.wendPlansObjects = wendPlansObjects; + +} + +-(void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender{ + NSLog(@"check"); + + WendPlanCharacter *newCharacter = [[WendPlanCharacter alloc] init]; + newCharacter.planString = self.plans; + newCharacter.celebString = self.celeb; + newCharacter.foodString = self.food; + newCharacter.alcoholString = self.alcohol; + newCharacter.plansImage = self.planImage; + newCharacter.titleString = self.titleToDisplayInMainTableVC; + + [self.titles addObject:newCharacter]; + + ResultsPageViewController *resultsPageViewController = segue.destinationViewController; + resultsPageViewController.character = newCharacter; + + [self.wendPlansObjects addObject:_planCharacter]; + self.planCharacter.planString = resultsPageViewController.planOne; + +} + + +- (IBAction)buttonTapped:(UIButton *)sender { + + if (self.angryEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:0]; + self.alcohol = [self.model.alcohol objectAtIndex:0]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:0]; + self.planImage = [UIImage imageNamed:@"library"]; + NSLog(@"%@", self.plans); + self.angryEmojiButton.alpha = 0.3; + + } + if (self.crazyEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:1]; + self.alcohol = [self.model.alcohol objectAtIndex:1]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:1]; + self.planImage = [UIImage imageNamed:@"beach"]; +// [self.titles addObject:_titleToDisplayInMainTableVC]; + NSLog(@"%@", self.plans); + self.crazyEmojiButton.alpha = 0.3; + + } + if (self.kissEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:2]; + self.alcohol = [self.model.alcohol objectAtIndex:2]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:2]; + self.planImage = [UIImage imageNamed:@"roadTrip"]; + NSLog(@"%@", self.plans); + self.kissEmojiButton.alpha = 0.3; + } + if (self.poopEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:3]; + self.alcohol = [self.model.alcohol objectAtIndex:3]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:3]; + self.planImage = [UIImage imageNamed:@"grandma"]; + NSLog(@"%@", self.plans); + self.poopEmojiButton.alpha = 0.3; + + } + if (self.tearsEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:4]; + self.alcohol = [self.model.alcohol objectAtIndex:4]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:4]; + self.planImage = [UIImage imageNamed:@"netflix"]; + NSLog(@"%@", self.plans); + self.tearsEmojiButton.alpha = 0.3; + } + if (self.fireEmojiButton.isTouchInside == YES){ + self.plans = [self.model.weekendPlans objectAtIndex:5]; + self.alcohol = [self.model.alcohol objectAtIndex:5]; + self.titleToDisplayInMainTableVC = [self.model.titles objectAtIndex:5]; + self.planImage = [UIImage imageNamed:@"nightclub"]; + NSLog(@"%@", self.plans); + self.fireEmojiButton.alpha = 0.3; + } + +} +- (IBAction)celebButtonTapped:(UIButton *)sender { + + if (self.shiaCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:0]; + NSLog(@"%@", self.celeb); + self.shiaCelebButton.alpha = 0.3; + } + if (self.jLawCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:1]; + NSLog(@"%@", self.celeb); + self.jLawCelebButton.alpha = 0.3; + } + if (self.steveYeunCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:2]; + NSLog(@"%@", self.celeb); + self.steveYeunCelebButton.alpha = 0.3; + } + if (self.lupitaCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:3]; + NSLog(@"%@", self.celeb); + self.lupitaCelebButton.alpha = 0.3; + } + if (self.theRockCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:4]; + NSLog(@"%@", self.celeb); + self.theRockCelebButton.alpha = 0.3; + } + if (self.sofiaVergaraCelebButton.isTouchInside == YES){ + self.celeb = [self.model.celebrity objectAtIndex:5]; + NSLog(@"%@", self.celeb); + self.sofiaVergaraCelebButton.alpha = 0.3; + } +} +- (IBAction)foodButtonTapped:(UIButton *)sender { + + if (self.chocolateFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:0]; + NSLog(@"%@", self.food); + self.chocolateFoodButton.alpha = 0.3; + } + if (self.macFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:1]; + NSLog(@"%@", self.food); + self.macFoodButton.alpha = 0.3; + } + if (self.sandwichFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:2]; + NSLog(@"%@", self.food); + self.sandwichFoodButton.alpha = 0.3; + } + if (self.pizzaFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:3]; + NSLog(@"%@", self.food); + self.pizzaFoodButton.alpha = 0.3; + } + if (self.kaleFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:4]; + NSLog(@"%@", self.food); + self.kaleFoodButton.alpha = 0.3; + } + if (self.burritoFoodButton.isTouchInside == YES){ + self.food = [self.model.food objectAtIndex:5]; + NSLog(@"%@", self.food); + self.burritoFoodButton.alpha = 0.3; + } +} +- (IBAction)switchedON:(UISwitch *)sender { + + + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:0]){ + self.alcohol = [self.model.alcohol objectAtIndex:6]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:0]){ + self.alcohol = [self.model.alcohol objectAtIndex:0]; + NSLog(@"%@", self.alcohol); + } + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:1]){ + self.alcohol = [self.model.alcohol objectAtIndex:7]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:1]){ + self.alcohol = [self.model.alcohol objectAtIndex:1]; + NSLog(@"%@", self.alcohol); + } + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:2]){ + self.alcohol = [self.model.alcohol objectAtIndex:8]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:2]){ + self.alcohol = [self.model.alcohol objectAtIndex:2]; + NSLog(@"%@", self.alcohol); + } + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:3]){ + self.alcohol = [self.model.alcohol objectAtIndex:9]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:3]){ + self.alcohol = [self.model.alcohol objectAtIndex:3]; + NSLog(@"%@", self.alcohol); + } + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:4]){ + self.alcohol = [self.model.alcohol objectAtIndex:10]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:4]){ + self.alcohol = [self.model.alcohol objectAtIndex:4]; + NSLog(@"%@", self.alcohol); + } + if (sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:5]){ + self.alcohol = [self.model.alcohol objectAtIndex:11]; + NSLog(@"%@", self.alcohol); + } + if (!sender.isOn && self.plans == [self.model.weekendPlans objectAtIndex:5]){ + self.alcohol = [self.model.alcohol objectAtIndex:5]; + NSLog(@"%@", self.alcohol); + } + + + +} + + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +#pragma mark - Table view data source + +- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + return 1; +} + +- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + return 4; +} + +/* +- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:<#@"reuseIdentifier"#> forIndexPath:indexPath]; + + // Configure the cell... + + return cell; +} +*/ + +/* +// Override to support conditional editing of the table view. +- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { + // Return NO if you do not want the specified item to be editable. + return YES; +} +*/ + +/* +// Override to support editing the table view. +- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath { + if (editingStyle == UITableViewCellEditingStyleDelete) { + // Delete the row from the data source + [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; + } else if (editingStyle == UITableViewCellEditingStyleInsert) { + // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view + } +} +*/ + +/* +// Override to support rearranging the table view. +- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath { +} +*/ + +/* +// Override to support conditional rearranging of the table view. +- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath { + // Return NO if you do not want the item to be re-orderable. + return YES; +} +*/ + +/* +#pragma mark - Navigation + +// In a storyboard-based application, you will often want to do a little preparation before navigation +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { + // Get the new view controller using [segue destinationViewController]. + // Pass the selected object to the new view controller. +} +*/ + +@end