Skip to content

Commit

Permalink
Merge pull request #1 from Ferrick90/master
Browse files Browse the repository at this point in the history
fixed button crash
  • Loading branch information
pruthvikar authored Sep 23, 2016
2 parents 503865a + a8a00a7 commit 5d072d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Example/FusumaExample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,15 @@ class ViewController: UIViewController, FusumaDelegate {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}

@IBAction func showButtonPressed(sender: UIButton) {


@IBAction func showButtonPressed(_ sender: AnyObject) {
// Show Fusuma
let fusuma = FusumaViewController()

// fusumaCropImage = false
// fusumaCropImage = false

fusuma.delegate = self
self.present(fusuma, animated: true, completion: nil)

}

// MARK: FusumaDelegate Protocol
Expand Down

0 comments on commit 5d072d3

Please sign in to comment.