ykyouhei / KYDrawerController

Side Drawer Navigation Controller similar to Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot invoke initializer with no arguments

bangiqi opened this issue · comments

Cannot invoke initializer for type KYDrawerController with no arguments. How can i solve this error?

You can initialize it like this

let drawerController = KYDrawerController(drawerDirection: KYDrawerController.DrawerDirection.left, drawerWidth: 200)