From 5b9d7258cccc4b076c38677128ffdfb72ee33c4a Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Wed, 30 Sep 2015 17:44:17 +0200 Subject: [PATCH 1/2] Update pod project --- Pod/Pod.xcodeproj/project.pbxproj | 1 + 1 file changed, 1 insertion(+) diff --git a/Pod/Pod.xcodeproj/project.pbxproj b/Pod/Pod.xcodeproj/project.pbxproj index 2e37d2aa..33f0c080 100644 --- a/Pod/Pod.xcodeproj/project.pbxproj +++ b/Pod/Pod.xcodeproj/project.pbxproj @@ -117,6 +117,7 @@ 146D728B1AB782920058798C /* Project object */ = { isa = PBXProject; attributes = { + LastSwiftUpdateCheck = 0700; LastUpgradeCheck = 0620; ORGANIZATIONNAME = Example; TargetAttributes = { From 613a6459bbe04330b617b40f80f022fa7e1d1067 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Wed, 30 Sep 2015 17:45:47 +0200 Subject: [PATCH 2/2] Use guarded value --- Source/TopView/TopView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/TopView/TopView.swift b/Source/TopView/TopView.swift index c19bd6f9..ae458aba 100644 --- a/Source/TopView/TopView.swift +++ b/Source/TopView/TopView.swift @@ -88,7 +88,7 @@ class TopView: UIView { break } - delegate?.flashButtonDidPress(button.currentTitle!) + delegate?.flashButtonDidPress(currentTitle) } func rotateCameraButtonDidPress(button: UIButton) {