From 2f2fbba27e62dc415dbb827644e3f5eb724e10d7 Mon Sep 17 00:00:00 2001 From: Seungyoun Yi Date: Thu, 21 Mar 2019 22:58:52 +0900 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9514b28..d201ee9 100644 --- a/README.md +++ b/README.md @@ -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