From d3f85348cbb85ca926badba28d35c223a29e3ee0 Mon Sep 17 00:00:00 2001 From: jzhu15 Date: Fri, 25 Oct 2019 16:28:24 -0500 Subject: [PATCH 1/2] forked item --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 500a12da..48273b37 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![App Brewery Banner](Documentation/AppBreweryBanner.png) -# Dicee +# Dicee-Forked ## Our Goal @@ -28,4 +28,3 @@ We’re going to make a Las Vegas dice app. You can make the die roll at the pre >This is a companion project to The App Brewery's Complete App Development Bootcamp, check out the full course at [www.appbrewery.co](https://www.appbrewery.co/) ![End Banner](Documentation/readme-end-banner.png) - From 63d0122971ca1874daa0789cdf352ca04b3a9761 Mon Sep 17 00:00:00 2001 From: jzhu15 Date: Mon, 28 Oct 2019 09:25:47 -0500 Subject: [PATCH 2/2] finish code --- .DS_Store | Bin 0 -> 6148 bytes .../UserInterfaceState.xcuserstate | Bin 0 -> 26470 bytes .../xcschemes/xcschememanagement.plist | 14 ++++++ Dicee-iOS13/Assets.xcassets/.DS_Store | Bin 0 -> 6148 bytes .../Base.lproj/LaunchScreen.storyboard | 10 ++-- Dicee-iOS13/Base.lproj/Main.storyboard | 47 ++++++++++++++++-- Dicee-iOS13/ViewController.swift | 15 +++++- 7 files changed, 76 insertions(+), 10 deletions(-) create mode 100644 .DS_Store create mode 100644 Dicee-iOS13.xcodeproj/project.xcworkspace/xcuserdata/jiezhu.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Dicee-iOS13/Assets.xcassets/.DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4723195d23b48f2959cb84c97f370de349b91919 GIT binary patch literal 6148 zcmeHK!AiqG5S^_(M1oL6L2o(qs!;raSmN13en6WPtt8!`7Ch!t{0033|G-c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hu.xcuserdatad/xcschemes/xcschememanagement.plist b/Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 00000000..9fbf1805 --- /dev/null +++ b/Dicee-iOS13.xcodeproj/xcuserdata/jiezhu.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Dicee-iOS13.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/Dicee-iOS13/Assets.xcassets/.DS_Store b/Dicee-iOS13/Assets.xcassets/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..6477ac06f9f278036221c78b6ae5e85da9bc4ff5 GIT binary patch literal 6148 zcmeHK%Sr=55Ukc50$$?H<9vbO9}Hpj2l4}oN)R-H(VX|>cll{nKM=zzo#EvRsL^{v7!UJ}=$2svZbM7ey*58u%o&SUz zteM-=Uw5mQ&ExZCoi`nJw5p_l6p#W^Knh5K9~AK3OPil0DoOzs3--bz`g>%|L>EulLAuUUnyX-VKprIO4VB@FXz3s(XZ)V^Fepx pIw%a$j)~EZx$$;<7DZXte9h;*a7+w3^Fb%-XTWulNrAss;1i>k7nT43 literal 0 HcmV?d00001 diff --git a/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard b/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard index 5f1a3f92..5609c845 100644 --- a/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard +++ b/Dicee-iOS13/Base.lproj/LaunchScreen.storyboard @@ -1,8 +1,8 @@ - + - + @@ -18,11 +18,11 @@ - - + + - + diff --git a/Dicee-iOS13/Base.lproj/Main.storyboard b/Dicee-iOS13/Base.lproj/Main.storyboard index a2019bf8..d492e24e 100644 --- a/Dicee-iOS13/Base.lproj/Main.storyboard +++ b/Dicee-iOS13/Base.lproj/Main.storyboard @@ -1,8 +1,8 @@ - + - + @@ -14,13 +14,54 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Dicee-iOS13/ViewController.swift b/Dicee-iOS13/ViewController.swift index 8657151e..16a49153 100644 --- a/Dicee-iOS13/ViewController.swift +++ b/Dicee-iOS13/ViewController.swift @@ -9,12 +9,23 @@ import UIKit class ViewController: UIViewController { - + + @IBOutlet weak var imageView1: UIImageView! + @IBOutlet weak var imageView2: UIImageView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. + } - + @IBAction func rollButton1(_ sender: UIButton) { + + print("Press the button") + // constant variable is "let" + let arrayDice = [#imageLiteral(resourceName: "DiceOne"),#imageLiteral(resourceName: "DiceTwo"),#imageLiteral(resourceName: "DiceThree"),#imageLiteral(resourceName: "DiceFour"),#imageLiteral(resourceName: "DiceFive"),#imageLiteral(resourceName: "DiceSix")] + imageView1.image = arrayDice[Int.random(in: 0...5)] + imageView2.image = arrayDice[Int.random(in: 0...5)] + } + }