Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics authored Mar 21, 2019
1 parent 12e170c commit 2f2fbba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ class DetailViewController: UIViewController, DismissableUsable
Add `dismissable` when prsent modal view
```swift
let vc = UIStoryboard.init(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "detail") as! DetailViewController
vc.setup(dismissable: (self, dismissInteractor))
self.present(vc, animated: true, completion: nil)

// Add optional scrollView argument when you need to prevent scroll event when offset is big
vc.setup(self, scrollView: vc.tableView)
```

Also you can customize dismiss animator
Expand Down

0 comments on commit 2f2fbba

Please sign in to comment.