Skip to content

Commit

Permalink
Merge pull request #38 from hyperoslo/improve/unwrapping
Browse files Browse the repository at this point in the history
Remove force unwrapping
  • Loading branch information
RamonGilabert committed Sep 30, 2015
2 parents e175d4c + 613a645 commit e162d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Pod/Pod.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
146D728B1AB782920058798C /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 0620;
ORGANIZATIONNAME = Example;
TargetAttributes = {
Expand Down
2 changes: 1 addition & 1 deletion Source/TopView/TopView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class TopView: UIView {
break
}

delegate?.flashButtonDidPress(button.currentTitle!)
delegate?.flashButtonDidPress(currentTitle)
}

func rotateCameraButtonDidPress(button: UIButton) {
Expand Down

0 comments on commit e162d78

Please sign in to comment.