Skip to content

Commit

Permalink
👍 fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Takahiro Oishi committed Jun 14, 2017
1 parent 47f3b9b commit 79a12be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/TAKUUIDSample/TAKViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ final class TAKViewController: UIViewController {
}

@IBAction func findOrCreate() {
let uuid = TAKUUIDStorage.sharedInstance().findOrCreate()
guard let uuid = TAKUUIDStorage.sharedInstance().findOrCreate() else { return }
print("uuid = \(uuid)")
print("lastErrorStatus = \(TAKUUIDStorage.sharedInstance().lastErrorStatus)")
}

@IBAction func renew() {
let uuid = TAKUUIDStorage.sharedInstance().renew()
guard let uuid = TAKUUIDStorage.sharedInstance().renew() else { return }
print("uuid = \(uuid)")
print("lastErrorStatus = \(TAKUUIDStorage.sharedInstance().lastErrorStatus)")
}
Expand Down

0 comments on commit 79a12be

Please sign in to comment.