From d730fd2d13854206c36dd27b79d7938857f4c664 Mon Sep 17 00:00:00 2001 From: keoki33 Date: Fri, 28 Feb 2020 21:08:29 +0000 Subject: [PATCH] add sound challenge --- .../UserInterfaceState.xcuserstate | Bin 25978 -> 27232 bytes EggTimer/Base.lproj/Main.storyboard | 12 ++++++------ EggTimer/ViewController.swift | 13 +++++++++++-- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/EggTimer.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate b/EggTimer.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate index bd37f937a592b53426fbcc032c7eb828daaee64f..54aa79d501bb8594b69e901a41a1f133462627cf 100644 GIT binary patch delta 9774 zcmaJ_2|yD^_s{IiEF?e(Bq0a62#`cHAt3}vAV3rkycHD!C~`zZ5tPHL*6es&wbiDc zZB-DhM{B+6*{apn*89Gyt=6_)wY9a{TF?Imq@V5A?{Ca5nVmQLe)Hb@y*KaCA#n8! zm^+xF@Wv7k@a9p4)Ih43Dx*BqP^yBeq()F9sZmrNRZoqj#!+61p{7tXsF~CpY993_ z^%gasT1G9W8mLv&T53JDo!UX|q;^psQ=d|wQ)j75)HUilb%Xkmx=Z~=-KQQ>e^O5& zgft9*LMVb_7y%_P5=KESjD}V(OoTR=1e0M3v_l6>g&D8|%z_)~iP9=-y-kbw)}LbwPnhD+ev@E!OrTnd-L6>u$F2j7Puz>nZoxDD=v zyWq$0Gx#|?0Kb4=!h`TEJO|Ii3-BWR0eY{)8}KH)1@FLn@HhA;e1-xM7x9n?iBSZS zph%=fHk5>tQ3|pn2TDb0$cfTXchm#*M7>aN)Cc9FQdEvcp?WkLjYqE_FJjOFv=A*q zi_sGFHhKrWi_#{4$FW`&#F8&4oitpjy@O}IM|BnB_5AmP)5q^xH;HUT*9Y}L& z9vwsrX(g?q)wG6=qP281ZKO?fJZ+{ObSj-jJL%4J7do5nP8ZSx=|ORH5j~hLqs!@`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;@zwtU& - + - + - - + + diff --git a/EggTimer/ViewController.swift b/EggTimer/ViewController.swift index b764436..41b2742 100644 --- a/EggTimer/ViewController.swift +++ b/EggTimer/ViewController.swift @@ -7,6 +7,7 @@ // import UIKit +import AVFoundation class ViewController: UIViewController { @@ -16,7 +17,7 @@ class ViewController: UIViewController { var gameTimer: Timer? var counter: Int = 0 var setTime: Int = 0 - + var player: AVAudioPlayer! @IBOutlet weak var softPic: UIButton! @IBOutlet weak var mediumPic: UIButton! @@ -47,7 +48,7 @@ print("none") } gameTimer?.invalidate() titleLabel.text = "How do you like your eggs?" counter = time - setTime = time + setTime = time gameTimer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(timer), userInfo: nil, repeats: true) } @@ -65,8 +66,16 @@ print("none") } titleLabel.text = "Done" cookingProgress.progress = 1 gameTimer?.invalidate() + playSound() } } + + func playSound() { + let url = Bundle.main.url(forResource: "alarm_sound", withExtension: "mp3") + player = try! AVAudioPlayer(contentsOf: url!) + player.play() + + } }