DONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONEDONE

This commit is contained in:
Max Hunt 2019-06-16 15:31:32 +01:00
parent 0e9fbe9a4c
commit 0ddc0e67df
23 changed files with 497 additions and 177 deletions

View File

@ -7,6 +7,12 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
502AAC4522B5721E00A37EBE /* i-wear.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 502AAC4022B5721D00A37EBE /* i-wear.mp3 */; };
502AAC4622B5721E00A37EBE /* i-connect.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 502AAC4122B5721E00A37EBE /* i-connect.mp3 */; };
502AAC4722B5721E00A37EBE /* i-language.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 502AAC4222B5721E00A37EBE /* i-language.mp3 */; };
502AAC4822B5721E00A37EBE /* i-charging.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 502AAC4322B5721E00A37EBE /* i-charging.mp3 */; };
502AAC4922B5721E00A37EBE /* i-interface.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 502AAC4422B5721E00A37EBE /* i-interface.mp3 */; };
5038A33022B68526004B2645 /* SecretsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5038A32F22B68526004B2645 /* SecretsViewController.swift */; };
505AFEF8229FE1BD004FF0F1 /* settingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 505AFEF7229FE1BD004FF0F1 /* settingsViewController.swift */; }; 505AFEF8229FE1BD004FF0F1 /* settingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 505AFEF7229FE1BD004FF0F1 /* settingsViewController.swift */; };
506421C922A33D87001E8877 /* InstructionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 506421C822A33D87001E8877 /* InstructionsViewController.swift */; }; 506421C922A33D87001E8877 /* InstructionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 506421C822A33D87001E8877 /* InstructionsViewController.swift */; };
506421CD22A33EA5001E8877 /* TechSpecsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 506421CC22A33EA5001E8877 /* TechSpecsViewController.swift */; }; 506421CD22A33EA5001E8877 /* TechSpecsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 506421CC22A33EA5001E8877 /* TechSpecsViewController.swift */; };
@ -40,6 +46,12 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
502AAC4022B5721D00A37EBE /* i-wear.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "i-wear.mp3"; sourceTree = "<group>"; };
502AAC4122B5721E00A37EBE /* i-connect.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "i-connect.mp3"; sourceTree = "<group>"; };
502AAC4222B5721E00A37EBE /* i-language.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "i-language.mp3"; sourceTree = "<group>"; };
502AAC4322B5721E00A37EBE /* i-charging.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "i-charging.mp3"; sourceTree = "<group>"; };
502AAC4422B5721E00A37EBE /* i-interface.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = "i-interface.mp3"; sourceTree = "<group>"; };
5038A32F22B68526004B2645 /* SecretsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecretsViewController.swift; sourceTree = "<group>"; };
505AFEF7229FE1BD004FF0F1 /* settingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = settingsViewController.swift; sourceTree = "<group>"; }; 505AFEF7229FE1BD004FF0F1 /* settingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = settingsViewController.swift; sourceTree = "<group>"; };
506421C822A33D87001E8877 /* InstructionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InstructionsViewController.swift; sourceTree = "<group>"; }; 506421C822A33D87001E8877 /* InstructionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InstructionsViewController.swift; sourceTree = "<group>"; };
506421CC22A33EA5001E8877 /* TechSpecsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TechSpecsViewController.swift; sourceTree = "<group>"; }; 506421CC22A33EA5001E8877 /* TechSpecsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TechSpecsViewController.swift; sourceTree = "<group>"; };
@ -114,6 +126,7 @@
50A7ADD6229D6A4200D58743 /* ViewController.swift */, 50A7ADD6229D6A4200D58743 /* ViewController.swift */,
50A7ADE6229D6C7100D58743 /* Assets.xcassets */, 50A7ADE6229D6C7100D58743 /* Assets.xcassets */,
50A7ADD8229D6A4200D58743 /* Main.storyboard */, 50A7ADD8229D6A4200D58743 /* Main.storyboard */,
5038A32F22B68526004B2645 /* SecretsViewController.swift */,
50969F5922AFD57E0000C5ED /* GameLearnViewController.swift */, 50969F5922AFD57E0000C5ED /* GameLearnViewController.swift */,
50969F5D22AFEBE80000C5ED /* SecondGameLearnViewController.swift */, 50969F5D22AFEBE80000C5ED /* SecondGameLearnViewController.swift */,
50E3DDF222AC5F9200E04D0B /* setupTextInstructionsViewController.swift */, 50E3DDF222AC5F9200E04D0B /* setupTextInstructionsViewController.swift */,
@ -138,6 +151,11 @@
50969F6122B08A350000C5ED /* guibe_long_right.mp3 */, 50969F6122B08A350000C5ED /* guibe_long_right.mp3 */,
50969F6522B08A350000C5ED /* guibe_right.mp3 */, 50969F6522B08A350000C5ED /* guibe_right.mp3 */,
50969F6222B08A350000C5ED /* guibe_wrongdirection.mp3 */, 50969F6222B08A350000C5ED /* guibe_wrongdirection.mp3 */,
502AAC4322B5721E00A37EBE /* i-charging.mp3 */,
502AAC4122B5721E00A37EBE /* i-connect.mp3 */,
502AAC4422B5721E00A37EBE /* i-interface.mp3 */,
502AAC4222B5721E00A37EBE /* i-language.mp3 */,
502AAC4022B5721D00A37EBE /* i-wear.mp3 */,
); );
path = Guibe; path = Guibe;
sourceTree = "<group>"; sourceTree = "<group>";
@ -227,9 +245,14 @@
50969F6C22B08A350000C5ED /* guibe_right.mp3 in Resources */, 50969F6C22B08A350000C5ED /* guibe_right.mp3 in Resources */,
50969F6622B08A350000C5ED /* guibe_left.mp3 in Resources */, 50969F6622B08A350000C5ED /* guibe_left.mp3 in Resources */,
50E3DDF122AC59EA00E04D0B /* placeholder.mp4 in Resources */, 50E3DDF122AC59EA00E04D0B /* placeholder.mp4 in Resources */,
502AAC4822B5721E00A37EBE /* i-charging.mp3 in Resources */,
50969F6822B08A350000C5ED /* guibe_long_right.mp3 in Resources */, 50969F6822B08A350000C5ED /* guibe_long_right.mp3 in Resources */,
502AAC4722B5721E00A37EBE /* i-language.mp3 in Resources */,
502AAC4522B5721E00A37EBE /* i-wear.mp3 in Resources */,
502AAC4922B5721E00A37EBE /* i-interface.mp3 in Resources */,
50A7ADDF229D6A4200D58743 /* LaunchScreen.storyboard in Resources */, 50A7ADDF229D6A4200D58743 /* LaunchScreen.storyboard in Resources */,
50969F6B22B08A350000C5ED /* guibe_long_left.mp3 in Resources */, 50969F6B22B08A350000C5ED /* guibe_long_left.mp3 in Resources */,
502AAC4622B5721E00A37EBE /* i-connect.mp3 in Resources */,
50A7ADE7229D6C7100D58743 /* Assets.xcassets in Resources */, 50A7ADE7229D6C7100D58743 /* Assets.xcassets in Resources */,
50A7ADDA229D6A4200D58743 /* Main.storyboard in Resources */, 50A7ADDA229D6A4200D58743 /* Main.storyboard in Resources */,
50969F6A22B08A350000C5ED /* guibe_begin.mp3 in Resources */, 50969F6A22B08A350000C5ED /* guibe_begin.mp3 in Resources */,
@ -248,6 +271,7 @@
506421CD22A33EA5001E8877 /* TechSpecsViewController.swift in Sources */, 506421CD22A33EA5001E8877 /* TechSpecsViewController.swift in Sources */,
50A7ADF9229D75C100D58743 /* 5_HandChoiceViewController.swift in Sources */, 50A7ADF9229D75C100D58743 /* 5_HandChoiceViewController.swift in Sources */,
50969F5A22AFD57E0000C5ED /* GameLearnViewController.swift in Sources */, 50969F5A22AFD57E0000C5ED /* GameLearnViewController.swift in Sources */,
5038A33022B68526004B2645 /* SecretsViewController.swift in Sources */,
50B1485E22A46F7A008B16AF /* VideoInstrictionsViewController.swift in Sources */, 50B1485E22A46F7A008B16AF /* VideoInstrictionsViewController.swift in Sources */,
50969F5E22AFEBE80000C5ED /* SecondGameLearnViewController.swift in Sources */, 50969F5E22AFEBE80000C5ED /* SecondGameLearnViewController.swift in Sources */,
50E3DDF322AC5F9200E04D0B /* setupTextInstructionsViewController.swift in Sources */, 50E3DDF322AC5F9200E04D0B /* setupTextInstructionsViewController.swift in Sources */,

View File

@ -20,27 +20,29 @@ class S3artViewController: UIViewController, CLLocationManagerDelegate {
let locationManager = CLLocationManager() let locationManager = CLLocationManager()
@IBAction func startBtnPressed(_ sender: Any) { @IBAction func startBtnPressed(_ sender: Any) {
DispatchQueue.main.asyncAfter(deadline: .now() + 1){ // DispatchQueue.main.asyncAfter(deadline: .now() + 1){
self.getStartedBtn.isHidden = true // self.getStartedBtn.isHidden = true
self.playAgainBtn.isHidden = false // self.playAgainBtn.isHidden = false
self.nextBtn.isHidden = false // self.nextBtn.isHidden = false
self.nextBtn.layer.shadowColor = UIColor.black.cgColor // self.nextBtn.layer.shadowColor = UIColor.black.cgColor
self.nextBtn.layer.shadowOffset = CGSize(width: 2, height: 5) // self.nextBtn.layer.shadowOffset = CGSize(width: 2, height: 5)
self.nextBtn.layer.shadowRadius = 5 // self.nextBtn.layer.shadowRadius = 5
self.nextBtn.layer.shadowOpacity = 0.2 // self.nextBtn.layer.shadowOpacity = 0.2
// }
// playVideo()
let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "screen5") as! H5ndChoiceViewController
nextViewController.modalTransitionStyle = .crossDissolve
self.present(nextViewController, animated: true, completion: nil)
} }
playVideo()
}
@IBAction func playAgainBtnPressed(_ sender: Any) { @IBAction func playAgainBtnPressed(_ sender: Any) {
playVideo() playVideo()
} }
@IBAction func nextBtnPressed(_ sender: Any) { @IBAction func nextBtnPressed(_ sender: Any) {
let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "screen5") as! H5ndChoiceViewController // let nextViewController = self.storyboard?.instantiateViewController(withIdentifier: "screen5") as! H5ndChoiceViewController
nextViewController.modalTransitionStyle = .crossDissolve // nextViewController.modalTransitionStyle = .crossDissolve
self.present(nextViewController, animated: true, completion: nil) // self.present(nextViewController, animated: true, completion: nil)
} }
@ -70,6 +72,7 @@ class S3artViewController: UIViewController, CLLocationManagerDelegate {
player.play() player.play()
} }
} }
/* /*
// MARK: - Navigation // MARK: - Navigation

View File

@ -12,6 +12,8 @@ class H5ndChoiceViewController: UIViewController {
@IBOutlet weak var lBtn: UIButton! @IBOutlet weak var lBtn: UIButton!
@IBOutlet weak var rBtn: UIButton! @IBOutlet weak var rBtn: UIButton!
@IBOutlet weak var textLbl: UITextView!
@IBOutlet weak var altLbl: UILabel!
let defaults = UserDefaults.standard let defaults = UserDefaults.standard
@ -32,6 +34,8 @@ class H5ndChoiceViewController: UIViewController {
super.viewDidLoad() super.viewDidLoad()
lBtn.accessibilityLabel = "Left Hand" lBtn.accessibilityLabel = "Left Hand"
rBtn.accessibilityLabel = "Right Hand" rBtn.accessibilityLabel = "Right Hand"
textLbl.accessibilityLabel = "where would you like to wear ghibe"
altLbl.accessibilityLabel = "where would you like to wear ghibe"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }

View File

@ -12,6 +12,8 @@ class S6deChoiceViewController: UIViewController {
@IBOutlet weak var bTtn: UIButton! @IBOutlet weak var bTtn: UIButton!
@IBOutlet weak var sBtn: UIButton! @IBOutlet weak var sBtn: UIButton!
@IBOutlet weak var textLbl: UITextView!
@IBOutlet weak var altLbl: UILabel!
let defaults = UserDefaults.standard let defaults = UserDefaults.standard
@ -33,6 +35,8 @@ class S6deChoiceViewController: UIViewController {
bTtn.accessibilityLabel = "Big on top" bTtn.accessibilityLabel = "Big on top"
sBtn.accessibilityLabel = "Small on top" sBtn.accessibilityLabel = "Small on top"
textLbl.accessibilityLabel = "How would you like to wear ghibe"
altLbl.accessibilityLabel = "How would you like to wear ghibe"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }

View File

@ -12,6 +12,8 @@ class R7adyViewController: UIViewController {
let defaults = UserDefaults.standard let defaults = UserDefaults.standard
@IBOutlet weak var loadingScreen: UIImageView!
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
@ -23,6 +25,8 @@ class R7adyViewController: UIViewController {
self.present(nextViewController, animated: true, completion: nil) self.present(nextViewController, animated: true, completion: nil)
} }
loadingScreen.accessibilityLabel = "ghibe is loading"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "stop.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "stop-1.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "stop-2.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -114,26 +114,38 @@
<action selector="ritHandPressed:" destination="1fA-dZ-9ei" eventType="touchUpInside" id="lim-hM-PE5"/> <action selector="ritHandPressed:" destination="1fA-dZ-9ei" eventType="touchUpInside" id="lim-hM-PE5"/>
</connections> </connections>
</button> </button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" text="Where would you like to wear Guibe?" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Y4u-0e-LuF"> <textView clipsSubviews="YES" multipleTouchEnabled="YES" alpha="0.0" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" text="Where would you like to wear Guibe?" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Y4u-0e-LuF">
<rect key="frame" x="27" y="98" width="361" height="88"/> <rect key="frame" x="27" y="157" width="361" height="88"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" type="system" pointSize="30"/> <fontDescription key="fontDescription" type="system" pointSize="30"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView> </textView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yHM-ZX-6fF">
<rect key="frame" x="47" y="108" width="317" height="91"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<string key="text">Where would you like
to wear Guibe?</string>
<fontDescription key="fontDescription" type="system" pointSize="31"/>
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="DBZ-Gw-djK"/> <viewLayoutGuide key="safeArea" id="DBZ-Gw-djK"/>
</view> </view>
<connections> <connections>
<outlet property="altLbl" destination="yHM-ZX-6fF" id="e8x-XY-Zkz"/>
<outlet property="lBtn" destination="WEN-tY-jI4" id="BzR-OW-zgd"/> <outlet property="lBtn" destination="WEN-tY-jI4" id="BzR-OW-zgd"/>
<outlet property="rBtn" destination="gt2-6x-6Ha" id="DLS-p6-M6G"/> <outlet property="rBtn" destination="gt2-6x-6Ha" id="DLS-p6-M6G"/>
<outlet property="textLbl" destination="Y4u-0e-LuF" id="OWv-AA-Zfi"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="F9v-Vk-vwE" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="F9v-Vk-vwE" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="1793" y="21"/> <point key="canvasLocation" x="1792.753623188406" y="20.758928571428569"/>
</scene> </scene>
<!--6de Choice View Controller--> <!--6de Choice View Controller-->
<scene sceneID="QLR-Oe-vCm"> <scene sceneID="QLR-Oe-vCm">
@ -165,7 +177,7 @@
<action selector="bottomBigPressed:" destination="Y31-kj-JwL" eventType="touchUpInside" id="0z4-tt-ChI"/> <action selector="bottomBigPressed:" destination="Y31-kj-JwL" eventType="touchUpInside" id="0z4-tt-ChI"/>
</connections> </connections>
</button> </button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" text="How would you like to wear Guibe?" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Ae0-G2-a7h"> <textView clipsSubviews="YES" multipleTouchEnabled="YES" alpha="0.0" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" text="How would you like to wear Guibe?" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ae0-G2-a7h">
<rect key="frame" x="26" y="91" width="361" height="88"/> <rect key="frame" x="26" y="91" width="361" height="88"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@ -173,18 +185,30 @@
<fontDescription key="fontDescription" type="system" pointSize="30"/> <fontDescription key="fontDescription" type="system" pointSize="30"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView> </textView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HS7-TE-HAD">
<rect key="frame" x="32" y="91" width="350" height="88"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<string key="text">How would you like to
wear Guibe?</string>
<fontDescription key="fontDescription" type="system" pointSize="34"/>
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="gsS-aw-PgA"/> <viewLayoutGuide key="safeArea" id="gsS-aw-PgA"/>
</view> </view>
<connections> <connections>
<outlet property="altLbl" destination="HS7-TE-HAD" id="87b-tv-3dM"/>
<outlet property="bTtn" destination="knf-O9-7aw" id="CAA-EC-Zwl"/> <outlet property="bTtn" destination="knf-O9-7aw" id="CAA-EC-Zwl"/>
<outlet property="sBtn" destination="tvs-dW-FeO" id="wnO-hf-lXr"/> <outlet property="sBtn" destination="tvs-dW-FeO" id="wnO-hf-lXr"/>
<outlet property="textLbl" destination="Ae0-G2-a7h" id="qRT-zL-3Jm"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dgq-NS-Hqn" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="dgq-NS-Hqn" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
<point key="canvasLocation" x="2687" y="21"/> <point key="canvasLocation" x="2686.9565217391305" y="20.758928571428569"/>
</scene> </scene>
<!--Game Learn View Controller--> <!--Game Learn View Controller-->
<scene sceneID="oO4-oL-3Ss"> <scene sceneID="oO4-oL-3Ss">
@ -269,6 +293,9 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="AzM-Y7-if5"/> <viewLayoutGuide key="safeArea" id="AzM-Y7-if5"/>
</view> </view>
<connections>
<outlet property="loadingScreen" destination="ZIq-iO-Wdz" id="nBx-rj-6p7"/>
</connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="sFx-6a-7bc" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="sFx-6a-7bc" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>
@ -394,19 +421,6 @@
<rect key="frame" x="53" y="142" width="277" height="10"/> <rect key="frame" x="53" y="142" width="277" height="10"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView> </imageView>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oDG-KT-Vhu">
<rect key="frame" x="53" y="409" width="277" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="25"/>
<state key="normal" title=" How to use Guibe">
<color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<segue destination="JpF-eY-5Vc" kind="popoverPresentation" popoverAnchorView="oDG-KT-Vhu" id="0yC-8J-abJ">
<popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
</segue>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sG4-j5-Aqw"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sG4-j5-Aqw">
<rect key="frame" x="53" y="251" width="277" height="56"/> <rect key="frame" x="53" y="251" width="277" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
@ -420,6 +434,19 @@
</segue> </segue>
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kt0-uW-baG">
<rect key="frame" x="53" y="397" width="277" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" name="Helvetica" family="Helvetica" pointSize="25"/>
<state key="normal" title=" How to use Guibe">
<color key="titleColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<segue destination="Obs-kC-EBO" kind="popoverPresentation" popoverAnchorView="kt0-uW-baG" id="UCX-Jn-5v6">
<popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
</segue>
</connections>
</button>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</view> </view>
@ -536,7 +563,7 @@
<outlet property="etaLabel" destination="TUX-4j-j4B" id="jfr-9U-oct"/> <outlet property="etaLabel" destination="TUX-4j-j4B" id="jfr-9U-oct"/>
<outlet property="etaView" destination="wbi-cI-xnq" id="pXR-sx-Wgh"/> <outlet property="etaView" destination="wbi-cI-xnq" id="pXR-sx-Wgh"/>
<outlet property="headingButton" destination="hPs-7x-Bl0" id="TEs-2a-UCP"/> <outlet property="headingButton" destination="hPs-7x-Bl0" id="TEs-2a-UCP"/>
<outlet property="howToUseGuibeBtn" destination="4YN-LU-KP5" id="k7H-yy-WK3"/> <outlet property="howToUseGuibeBtn" destination="kt0-uW-baG" id="5yi-Ia-UEa"/>
<outlet property="keybDismissBtn" destination="Giw-Yg-RCh" id="YE4-8g-jOa"/> <outlet property="keybDismissBtn" destination="Giw-Yg-RCh" id="YE4-8g-jOa"/>
<outlet property="mapView" destination="Bex-Mk-DDO" id="2Ww-7N-bZc"/> <outlet property="mapView" destination="Bex-Mk-DDO" id="2Ww-7N-bZc"/>
<outlet property="menuBtn" destination="m8G-AJ-moq" id="QXG-rH-6Lm"/> <outlet property="menuBtn" destination="m8G-AJ-moq" id="QXG-rH-6Lm"/>
@ -732,12 +759,14 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView> </imageView>
<button opaque="NO" alpha="0.20000000000000001" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WPC-q8-Us8"> <button opaque="NO" alpha="0.20000000000000001" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WPC-q8-Us8">
<rect key="frame" x="305" y="51" width="89" height="30"/> <rect key="frame" x="330" y="51" width="40" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="tintColor" red="1" green="0.1748579502" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="displayP3"/> <color key="tintColor" red="1" green="0.1748579502" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
<state key="normal" title="Reset Config"/> <state key="normal" title="Prefs."/>
<connections> <connections>
<action selector="resetCfgPressed:" destination="C7R-cA-IIg" eventType="touchUpInside" id="yTQ-3x-JnU"/> <segue destination="FXb-No-u4u" kind="popoverPresentation" popoverAnchorView="WPC-q8-Us8" id="PdM-Vi-xM1">
<popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
</segue>
</connections> </connections>
</button> </button>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Ppx-kH-Zyc"> <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" bounces="NO" scrollEnabled="NO" bouncesZoom="NO" editable="NO" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Ppx-kH-Zyc">
@ -793,10 +822,6 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/> <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="serparator" translatesAutoresizingMaskIntoConstraints="NO" id="qeH-zn-8dI">
<rect key="frame" x="20" y="91" width="374" height="10"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</imageView>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uJJ-lQ-GmO"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uJJ-lQ-GmO">
<rect key="frame" x="20" y="44" width="84" height="44"/> <rect key="frame" x="20" y="44" width="84" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
@ -808,42 +833,19 @@
<action selector="backBtnPressed:" destination="Obs-kC-EBO" eventType="touchUpInside" id="7Ng-sC-CwS"/> <action selector="backBtnPressed:" destination="Obs-kC-EBO" eventType="touchUpInside" id="7Ng-sC-CwS"/>
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZS9-iD-Y8a"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZS9-iD-Y8a">
<rect key="frame" x="29" y="297" width="177" height="51"/> <rect key="frame" x="29" y="135" width="365" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/> <fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Video/ Audio"> <state key="normal" title="Audio Instructions">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/> <color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state> </state>
<connections> <connections>
<action selector="VABtnPressed:" destination="Obs-kC-EBO" eventType="touchUpInside" id="IKd-L7-0DM"/> <segue destination="Z1d-IC-mUl" kind="popoverPresentation" popoverAnchorView="ZS9-iD-Y8a" id="oa2-pd-Tfn">
<segue destination="Z1d-IC-mUl" kind="popoverPresentation" popoverAnchorView="ZS9-iD-Y8a" id="cOj-sg-H4O">
<popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/> <popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
</segue> </segue>
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iKA-Ec-DYO">
<rect key="frame" x="29" y="443" width="299" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="More coming soon!!!!!">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
<connections>
<action selector="easterEggPressed:" destination="Obs-kC-EBO" eventType="touchUpInside" id="4fy-fz-fIa"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fov-Ic-2dL">
<rect key="frame" x="29" y="130" width="323" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Step By Step Directions">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
<connections>
<action selector="writtenInstructionsBtnPressed:" destination="Obs-kC-EBO" eventType="touchUpInside" id="sKr-xE-dr8"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jE8-yt-tWJ"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jE8-yt-tWJ">
<rect key="frame" x="225" y="48" width="169" height="36"/> <rect key="frame" x="225" y="48" width="169" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
@ -851,30 +853,29 @@
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BB5-mU-ez6"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BB5-mU-ez6">
<rect key="frame" x="29" y="214" width="249" height="51"/> <rect key="frame" x="29" y="218" width="365" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/> <fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Setup Instructions"> <state key="normal" title="Text Instructions">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/> <color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state> </state>
<connections>
<segue destination="JpF-eY-5Vc" kind="popoverPresentation" popoverAnchorView="BB5-mU-ez6" id="rEe-wM-2Sc">
<popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
</segue>
</connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xgn-og-o9u"> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="serparator" translatesAutoresizingMaskIntoConstraints="NO" id="2LR-cb-c2s">
<rect key="frame" x="29" y="368" width="272" height="51"/> <rect key="frame" x="20" y="96" width="374" height="10"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/> </imageView>
<state key="normal" title="Relearn Instructions">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
</button>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="qYW-KB-ok9"/> <viewLayoutGuide key="safeArea" id="qYW-KB-ok9"/>
</view> </view>
<connections> <connections>
<outlet property="backBtn" destination="uJJ-lQ-GmO" id="RxB-gt-5Gh"/> <outlet property="backBtn" destination="uJJ-lQ-GmO" id="RxB-gt-5Gh"/>
<outlet property="easterEggBtn" destination="iKA-Ec-DYO" id="WMV-q0-eOT"/>
<outlet property="separator" destination="qeH-zn-8dI" id="YcR-E8-ps7"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="m3K-Fq-zFT" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="m3K-Fq-zFT" userLabel="First Responder" sceneMemberID="firstResponder"/>
@ -966,8 +967,8 @@
<action selector="backBtnPressed:" destination="JpF-eY-5Vc" eventType="touchUpInside" id="n3E-MR-SZh"/> <action selector="backBtnPressed:" destination="JpF-eY-5Vc" eventType="touchUpInside" id="n3E-MR-SZh"/>
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Setup Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kFB-UI-rG1"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Text Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kFB-UI-rG1">
<rect key="frame" x="137" y="48" width="258" height="36"/> <rect key="frame" x="149" y="48" width="234" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="30"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="30"/>
<nil key="textColor"/> <nil key="textColor"/>
@ -1028,35 +1029,74 @@ And thats all you need to know to follow the vibe!</string>
<action selector="backBtnPressed:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="anV-qE-zRa"/> <action selector="backBtnPressed:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="anV-qE-zRa"/>
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Video Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="asB-7K-LXF"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Audio Instructions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="asB-7K-LXF">
<rect key="frame" x="138" y="48" width="256" height="36"/> <rect key="frame" x="138" y="48" width="256" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="30"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="30"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VjP-SH-apr"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lc2-IC-Wv3">
<rect key="frame" x="73" y="561" width="269" height="161"/> <rect key="frame" x="34" y="132" width="360" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.75425197838429625" green="0.0" blue="1" alpha="0.072185359589041098" colorSpace="custom" customColorSpace="displayP3"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/> <fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Setup"> <state key="normal" title="Connecting your guibe">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/> <color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state> </state>
<connections> <connections>
<action selector="setupBtnPressed:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="u4a-KJ-vCd"/> <action selector="b1p:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="TE1-fY-D8W"/>
</connections> </connections>
</button> </button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Vtx-Rm-O6r"> <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z6n-NH-y1R">
<rect key="frame" x="73" y="200" width="269" height="161"/> <rect key="frame" x="34" y="213" width="360" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="0.75425197840000002" green="0.0" blue="1" alpha="0.072185359589999998" colorSpace="custom" customColorSpace="displayP3"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/> <fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Tutorial"> <state key="normal" title="Wearing your guibe">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/> <color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state> </state>
<connections> <connections>
<action selector="tutorialBtnPressed:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="2np-SF-9j4"/> <action selector="b2p:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="fr7-cl-oxb"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="PWD-2f-QJU">
<rect key="frame" x="34" y="294" width="360" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Guibe Language">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
<connections>
<action selector="b3p:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="kHh-YR-7zm"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="X1d-6f-yDi">
<rect key="frame" x="34" y="375" width="360" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Guibe Interface">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
<connections>
<action selector="b4p:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="UqA-Fe-2wN"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="leading" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3br-76-cai">
<rect key="frame" x="34" y="456" width="360" height="51"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="32"/>
<state key="normal" title="Charging your Guibe">
<color key="titleColor" cocoaTouchSystemColor="scrollViewTexturedBackgroundColor"/>
</state>
<connections>
<action selector="b5p:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="fkK-af-qrX"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="k2T-uw-fJ5">
<rect key="frame" x="168" y="772" width="78" height="78"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" backgroundImage="stop"/>
<connections>
<action selector="stopBtnPressed:" destination="Z1d-IC-mUl" eventType="touchUpInside" id="Cuw-xI-asw"/>
</connections> </connections>
</button> </button>
</subviews> </subviews>
@ -1064,9 +1104,13 @@ And thats all you need to know to follow the vibe!</string>
<viewLayoutGuide key="safeArea" id="P0U-bD-d7i"/> <viewLayoutGuide key="safeArea" id="P0U-bD-d7i"/>
</view> </view>
<connections> <connections>
<outlet property="b1" destination="Lc2-IC-Wv3" id="voj-Qa-KFt"/>
<outlet property="b2" destination="Z6n-NH-y1R" id="8MW-vn-QNO"/>
<outlet property="b3" destination="PWD-2f-QJU" id="5xM-T5-MAA"/>
<outlet property="b4" destination="X1d-6f-yDi" id="Iv7-Lh-S4H"/>
<outlet property="b5" destination="3br-76-cai" id="oAs-3p-QPS"/>
<outlet property="backBtn" destination="yyl-HX-94u" id="Sbl-3X-j2K"/> <outlet property="backBtn" destination="yyl-HX-94u" id="Sbl-3X-j2K"/>
<outlet property="setupBtn" destination="VjP-SH-apr" id="LRM-dm-hJe"/> <outlet property="stopBtn" destination="k2T-uw-fJ5" id="prK-CB-lCk"/>
<outlet property="tuturialBtn" destination="Vtx-Rm-O6r" id="Jig-dY-7EH"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="CaX-XU-gd4" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="CaX-XU-gd4" userLabel="First Responder" sceneMemberID="firstResponder"/>
@ -1206,6 +1250,86 @@ And thats all you need to know to follow the vibe!</string>
</objects> </objects>
<point key="canvasLocation" x="4441" y="777"/> <point key="canvasLocation" x="4441" y="777"/>
</scene> </scene>
<!--Secrets View Controller-->
<scene sceneID="tpO-Wn-EHj">
<objects>
<viewController id="FXb-No-u4u" customClass="SecretsViewController" customModule="Guibe" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="D5y-fs-KxB">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Secret Menu" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qR2-Bn-PxO">
<rect key="frame" x="59" y="58" width="297" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleTitle0"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Debug Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fb7-9Z-Mcw">
<rect key="frame" x="59" y="153" width="137" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="25"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qFb-Km-qlI">
<rect key="frame" x="59" y="513" width="297" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" type="system" pointSize="33"/>
<state key="normal" title="RESET CONFIG">
<color key="titleColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
</state>
<connections>
<action selector="resetBtnPressed:" destination="FXb-No-u4u" eventType="touchUpInside" id="nvy-Bp-3Nq"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5y2-nh-UaF">
<rect key="frame" x="59" y="681" width="297" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" type="system" pointSize="33"/>
<state key="normal" title="Go crazy!">
<color key="titleColor" red="0.0" green="1" blue="0.067953254670000005" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
</state>
<connections>
<action selector="easterBtnPressed:" destination="FXb-No-u4u" eventType="touchUpInside" id="Fle-7r-lAE"/>
</connections>
</button>
<switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="rfz-lB-HGC">
<rect key="frame" x="307" y="153" width="49" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<connections>
<action selector="valueToggled:" destination="FXb-No-u4u" eventType="valueChanged" id="A3J-qr-Zmg"/>
</connections>
</switch>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pxx-Vi-9Kc">
<rect key="frame" x="125" y="774" width="164" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.96417487157534243" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" type="system" pointSize="33"/>
<state key="normal" title="&lt; Back">
<color key="titleColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</state>
<connections>
<action selector="backBtnPressed:" destination="FXb-No-u4u" eventType="touchUpInside" id="nTX-2e-Nxt"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="3YM-pK-9CO"/>
</view>
<connections>
<outlet property="DLblSwitch" destination="rfz-lB-HGC" id="5xL-KH-psH"/>
<outlet property="backBtn" destination="pxx-Vi-9Kc" id="hbt-31-Out"/>
<outlet property="easterEgg" destination="5y2-nh-UaF" id="aVV-UE-9uf"/>
<outlet property="resetCfg" destination="qFb-Km-qlI" id="oew-Y6-694"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="9Tu-uR-cVX" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="5262.3188405797109" y="1484.5982142857142"/>
</scene>
</scenes> </scenes>
<resources> <resources>
<image name="LoadScreen" width="294.66665649414062" height="638"/> <image name="LoadScreen" width="294.66665649414062" height="638"/>
@ -1230,6 +1354,7 @@ And thats all you need to know to follow the vibe!</string>
<image name="settingsScreen" width="280" height="608"/> <image name="settingsScreen" width="280" height="608"/>
<image name="startBtn" width="173.33332824707031" height="47.666667938232422"/> <image name="startBtn" width="173.33332824707031" height="47.666667938232422"/>
<image name="startScreen" width="297.33334350585938" height="645.33331298828125"/> <image name="startScreen" width="297.33334350585938" height="645.33331298828125"/>
<image name="stop" width="170.66667175292969" height="170.66667175292969"/>
<image name="welcome2Screen" width="282.66665649414062" height="616.66668701171875"/> <image name="welcome2Screen" width="282.66665649414062" height="616.66668701171875"/>
</resources> </resources>
</document> </document>

View File

@ -35,10 +35,11 @@ class GameLearnViewController: UIViewController, AVAudioPlayerDelegate {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
textLabel.text = "Now we will learn the different haptic patterns for navigationg with Guibe" textLabel.text = "Now we will learn the different haptic patterns for navigating with Guibe"
textLabel.accessibilityLabel = "Now we will learn the different haptic patterns for navigationg with geibe" textLabel.accessibilityLabel = "Now we will learn the different haptic patterns for navigationg with ghibe"
mainButton.accessibilityLabel = "Play vibration" mainButton.accessibilityLabel = "Play vibration"
mainButton.alpha = 0.0 mainButton.alpha = 0.0
nextBtn.accessibilityLabel = "Next"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.

View File

@ -10,40 +10,40 @@ import UIKit
import MapKit import MapKit
class InstructionsViewController: UIViewController { class InstructionsViewController: UIViewController {
@IBOutlet weak var separator: UIImageView!
@IBOutlet weak var easterEggBtn: UIButton!
@IBOutlet weak var backBtn: UIButton! @IBOutlet weak var backBtn: UIButton!
@IBAction func backBtnPressed(_ sender: Any) { @IBAction func backBtnPressed(_ sender: Any) {
self.dismiss(animated: true, completion: nil) self.dismiss(animated: true, completion: nil)
} }
@IBAction func writtenInstructionsBtnPressed(_ sender: Any) { // @IBAction func writtenInstructionsBtnPressed(_ sender: Any) {
// let mvc = MainViewController() // let mvc = MainViewController()
// let ivc = WrittenInstructionsViewController() // let ivc = WrittenInstructionsViewController()
// //
// ivc.stepBySteps = mvc.textSteps // ivc.stepBySteps = mvc.textSteps
// ivc.currentStep = mvc.stepCounter // ivc.currentStep = mvc.stepCounter
} // }
@IBAction func easterEggPressed(_ sender: Any) { // @IBAction func easterEggPressed(_ sender: Any) {
self.separator.isHidden = true // self.separator.isHidden = true
self.separator.alpha = 0.0 // self.separator.alpha = 0.0
UIView.animate(withDuration: 0.2, animations: {self.view.backgroundColor = .green}) // UIView.animate(withDuration: 0.2, animations: {self.view.backgroundColor = .green})
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .red})} // DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .red})}
DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .blue})} // DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .blue})}
DispatchQueue.main.asyncAfter(deadline: .now() + 1.2) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .yellow})} // DispatchQueue.main.asyncAfter(deadline: .now() + 1.2) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .yellow})}
DispatchQueue.main.asyncAfter(deadline: .now() + 1.6) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .cyan})} // DispatchQueue.main.asyncAfter(deadline: .now() + 1.6) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .cyan})}
DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .magenta})} // DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .magenta})}
DispatchQueue.main.asyncAfter(deadline: .now() + 2.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .white})} // DispatchQueue.main.asyncAfter(deadline: .now() + 2.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .white})}
self.separator.isHidden = false // self.separator.isHidden = false
self.separator.alpha = 1.0 // self.separator.alpha = 1.0
} // }
@IBAction func VABtnPressed(_ sender: Any) { // @IBAction func VABtnPressed(_ sender: Any) {
//
} // }
// ivc.stepBySteps = mvc.textSteps // ivc.stepBySteps = mvc.textSteps
@ -54,7 +54,7 @@ class InstructionsViewController: UIViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
easterEggBtn.accessibilityLabel = "Easter egg, do not press" // easterEggBtn.accessibilityLabel = "Easter egg, do not press"
backBtn.accessibilityLabel = "Back" backBtn.accessibilityLabel = "Back"
// let mvc = MainViewController() // let mvc = MainViewController()
// let ivc = WrittenInstructionsViewController() // let ivc = WrittenInstructionsViewController()

View File

@ -46,8 +46,8 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol {
@IBOutlet weak var menuView: UIView! @IBOutlet weak var menuView: UIView!
@IBOutlet weak var menuBtn: UIButton! @IBOutlet weak var menuBtn: UIButton!
@IBOutlet weak var dismissBtn: UIButton! @IBOutlet weak var dismissBtn: UIButton!
@IBOutlet weak var howToUseGuibeBtn: UIView! @IBOutlet weak var howToUseGuibeBtn: UIButton!
// --------------------- // ---------------------
@IBOutlet weak var searchBarBg: UIButton! @IBOutlet weak var searchBarBg: UIButton!
@IBOutlet weak var searchView: UIView! @IBOutlet weak var searchView: UIView!
@IBOutlet weak var searchBar: UISearchBar! @IBOutlet weak var searchBar: UISearchBar!
@ -148,6 +148,16 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
let debugVar = defaults.integer(forKey: "debug")
if debugVar == 2 {
debugLbl.alpha = 1.0
}
else {
debugLbl.alpha = 0.0
}
searchBar.delegate = self searchBar.delegate = self
searchBarBg.layer.shadowColor = UIColor.black.cgColor searchBarBg.layer.shadowColor = UIColor.black.cgColor
searchBarBg.layer.cornerRadius = 10 searchBarBg.layer.cornerRadius = 10
@ -227,7 +237,7 @@ class MainViewController: UIViewController, AVAudioPlayerDelegate, myProtocol {
mapView.accessibilityElementsHidden = true mapView.accessibilityElementsHidden = true
startNaviImg.accessibilityLabel = "Follow the vibe" startNaviImg.accessibilityLabel = "Follow the vibe"
arrivedAtDestinationBtn.accessibilityLabel = "End Navigation" arrivedAtDestinationBtn.accessibilityLabel = "End Navigation"
howToUseGuibeBtn.accessibilityLabel = "this is How to use geibe" howToUseGuibeBtn.accessibilityLabel = "How to use ghibe"
} //END OF VIEW DID LOAD } //END OF VIEW DID LOAD

View File

@ -39,10 +39,11 @@ class SecondGameLearnViewController: UIViewController, AVAudioPlayerDelegate {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
textLabel.text = "Now we will learn the different haptic patterns for navigationg with Guibe" textLabel.text = "Now we will learn the different haptic patterns for navigating with Guibe"
textLabel.accessibilityLabel = "Now we will learn the different haptic patterns for navigationg with geibe" textLabel.accessibilityLabel = "Now we will learn the different haptic patterns for navigationg with ghibe"
mainButton.accessibilityLabel = "Play vibration" mainButton.accessibilityLabel = "Play vibration"
mainButton.alpha = 0.0 mainButton.alpha = 0.0
nextBtn.accessibilityLabel = "Next"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }

View File

@ -0,0 +1,69 @@
//
// SecretsViewController.swift
// Guibe
//
// Created by Max Hunt on 16/06/2019.
// Copyright © 2019 8. All rights reserved.
//
import UIKit
class SecretsViewController: UIViewController {
let defaults = UserDefaults.standard
// @IBOutlet weak var menuView: UIView!
@IBOutlet weak var resetCfg: UIButton!
@IBOutlet weak var easterEgg: UIButton!
@IBOutlet weak var backBtn: UIButton!
@IBOutlet weak var DLblSwitch: UISwitch!
@IBAction func resetBtnPressed(_ sender: Any) {
defaults.set(0, forKey: "setupDone")
self.resetCfg.alpha = 0.0
}
@IBAction func valueToggled(_ sender: Any) {
if self.DLblSwitch.isOn == true {
defaults.set(2, forKey: "debug")
}
else {
defaults.set(1, forKey: "debug")
}
}
@IBAction func easterBtnPressed(_ sender: Any) {
UIView.animate(withDuration: 0.2, animations: {self.view.backgroundColor = .green})
DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .red})}
DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .blue})}
DispatchQueue.main.asyncAfter(deadline: .now() + 1.2) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .yellow})}
DispatchQueue.main.asyncAfter(deadline: .now() + 1.6) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .cyan})}
DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .magenta})}
DispatchQueue.main.asyncAfter(deadline: .now() + 2.4) {UIView.animate(withDuration: 0.3, animations:{self.view.backgroundColor = .white})}
}
@IBAction func backBtnPressed(_ sender: Any) {
self.dismiss(animated: true, completion: nil)
}
override func viewDidLoad() {
super.viewDidLoad()
let DBVal = defaults.integer(forKey: "debug")
if DBVal == 2 {
DLblSwitch.isOn = true
}
else {
defaults.set(1, forKey: "debug")
DLblSwitch.isOn = false
}
}
// defaults.set(0, forKey: "setupDone")
}

View File

@ -11,22 +11,52 @@ import AVKit
class VideoInstrictionsViewController: UIViewController, AVAudioPlayerDelegate { class VideoInstrictionsViewController: UIViewController, AVAudioPlayerDelegate {
var player = AVAudioPlayer()
@IBOutlet weak var tuturialBtn: UIButton!
@IBOutlet weak var setupBtn: UIButton!
@IBOutlet weak var backBtn: UIButton! @IBOutlet weak var backBtn: UIButton!
@IBOutlet weak var b1: UIButton!
@IBOutlet weak var b2: UIButton!
@IBOutlet weak var b3: UIButton!
@IBOutlet weak var b4: UIButton!
@IBOutlet weak var b5: UIButton!
@IBOutlet weak var stopBtn: UIButton!
@IBAction func b1p(_ sender: Any) {
disableAllButtons()
audioPlay(fName: "i-connect")
}
@IBAction func b2p(_ sender: Any) {
disableAllButtons()
audioPlay(fName: "i-wear")
}
@IBAction func b3p(_ sender: Any) {
disableAllButtons()
audioPlay(fName: "i-language")
}
@IBAction func b4p(_ sender: Any) {
disableAllButtons()
audioPlay(fName: "i-interface")
}
@IBAction func b5p(_ sender: Any) {
disableAllButtons()
audioPlay(fName: "i-charging")
}
@IBAction func stopBtnPressed(_ sender: Any) {
self.player.stop()
enableAllButtons()
}
@IBAction func backBtnPressed(_ sender: Any) { @IBAction func backBtnPressed(_ sender: Any) {
self.dismiss(animated: true, completion: nil) self.dismiss(animated: true, completion: nil)
} }
@IBAction func tutorialBtnPressed(_ sender: Any) {
playVideo1()
}
@IBAction func setupBtnPressed(_ sender: Any) {
playVideo2()
}
@ -34,50 +64,74 @@ class VideoInstrictionsViewController: UIViewController, AVAudioPlayerDelegate {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
b1.accessibilityLabel = "connecting your ghibe"
b2.accessibilityLabel = "wearing your ghibe"
b3.accessibilityLabel = "ghibe language"
b4.accessibilityLabel = "ghibe interface"
b5.accessibilityLabel = "charging your ghibe"
backBtn.accessibilityLabel = "back"
stopBtn.accessibilityLabel = "stop"
tuturialBtn.layer.shadowColor = UIColor.black.cgColor stopBtn.alpha = 0.5
tuturialBtn.layer.cornerRadius = 9 stopBtn.isEnabled = false
tuturialBtn.layer.shadowOffset = CGSize(width: 7, height: 9)
tuturialBtn.layer.shadowRadius = 9
tuturialBtn.layer.shadowOpacity = 0.4
setupBtn.layer.shadowColor = UIColor.black.cgColor
setupBtn.layer.cornerRadius = 9
setupBtn.layer.shadowOffset = CGSize(width: 7, height: 9)
setupBtn.layer.shadowRadius = 9
setupBtn.layer.shadowOpacity = 0.4
backBtn.accessibilityLabel = "Back"
tuturialBtn.accessibilityLabel = "Usage Tutorial"
setupBtn.accessibilityLabel = "Guibe bracelet setup tutorial"
// Do any additional setup after loading the view. // Do any additional setup after loading the view.
} }
private func playVideo1() { func disableAllButtons() {
guard let path = Bundle.main.path(forResource: "placeholder", ofType:"mp4") else { self.b1.isEnabled = false
debugPrint("404") self.b2.isEnabled = false
return } self.b3.isEnabled = false
let player = AVPlayer(url: URL(fileURLWithPath: path)) self.b4.isEnabled = false
let playerController = AVPlayerViewController() self.b5.isEnabled = false
playerController.player = player self.stopBtn.isEnabled = true
// playerController.modalPresentationStyle = .popover
present(playerController, animated: true) { UIView.animate(withDuration: 0.3, animations: {
self.b1.alpha = 0.5
self.b2.alpha = 0.5
self.b3.alpha = 0.5
self.b4.alpha = 0.5
self.b5.alpha = 0.5
self.stopBtn.alpha = 1.0
})
}
func enableAllButtons() {
self.b1.isEnabled = true
self.b2.isEnabled = true
self.b3.isEnabled = true
self.b4.isEnabled = true
self.b5.isEnabled = true
self.stopBtn.isEnabled = false
UIView.animate(withDuration: 0.3, animations: {
self.b1.alpha = 1.0
self.b2.alpha = 1.0
self.b3.alpha = 1.0
self.b4.alpha = 1.0
self.b5.alpha = 1.0
self.stopBtn.alpha = 0.5
})
}
func audioPlay (fName: String) {
let path = Bundle.main.path(forResource: fName, ofType : "mp3")!
let url = URL(fileURLWithPath : path)
do {
player = try AVAudioPlayer(contentsOf: url)
player.delegate = self
player.play() player.play()
} catch {
debugPrint("Error in playing sound file \(fName).mp3")
} }
} }
private func playVideo2() { func audioPlayerDidFinishPlaying(_ player: AVAudioPlayer, successfully flag: Bool) {
guard let path = Bundle.main.path(forResource: "placeholder", ofType:"mp4") else { enableAllButtons()
debugPrint("404")
return }
let player = AVPlayer(url: URL(fileURLWithPath: path))
let playerController = AVPlayerViewController()
playerController.player = player
// playerController.modalPresentationStyle = .popover
present(playerController, animated: true) {
player.play()
}
} }

View File

@ -16,7 +16,7 @@ class ViewController: UIViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
guibeScreen.accessibilityLabel = "geibe" guibeScreen.accessibilityLabel = "ghibe"
let setupDone = defaults.integer(forKey: "setupDone") let setupDone = defaults.integer(forKey: "setupDone")

BIN
Guibe/i-charging.mp3 Normal file

Binary file not shown.

BIN
Guibe/i-connect.mp3 Normal file

Binary file not shown.

BIN
Guibe/i-interface.mp3 Normal file

Binary file not shown.

BIN
Guibe/i-language.mp3 Normal file

Binary file not shown.

BIN
Guibe/i-wear.mp3 Normal file

Binary file not shown.

View File

@ -61,9 +61,7 @@ class settingsViewController: UIViewController {
UIView.animate(withDuration: 0.4, animations: {self.CSTop.alpha = 1.0}) UIView.animate(withDuration: 0.4, animations: {self.CSTop.alpha = 1.0})
} }
} }
@IBAction func resetCfgPressed(_ sender: Any) {
defaults.set(0, forKey: "setupDone")
}
// ACTIONS--------------ACTIONS // ACTIONS--------------ACTIONS
override func viewDidLoad() { override func viewDidLoad() {
@ -100,8 +98,8 @@ class settingsViewController: UIViewController {
bTopBtn.accessibilityLabel = "Big side on top" bTopBtn.accessibilityLabel = "Big side on top"
CSTop.accessibilityLabel = "Small side on top" CSTop.accessibilityLabel = "Small side on top"
sTopBtn.accessibilityLabel = "Small side on top" sTopBtn.accessibilityLabel = "Small side on top"
sideText.accessibilityLabel = "Where would you like to wear geibe" sideText.accessibilityLabel = "Where would you like to wear ghibe"
teoSideText.accessibilityLabel = "How would you like to wear geibe?" teoSideText.accessibilityLabel = "How would you like to wear ghibe?"
} }