KYDrawerController icon indicating copy to clipboard operation
KYDrawerController copied to clipboard

Cannot invoke initializer with no arguments

Open bangiqi opened this issue 7 years ago • 1 comments

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

bangiqi avatar Jun 17 '18 17:06 bangiqi

You can initialize it like this

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

anuranBarman avatar Oct 05 '18 05:10 anuranBarman