ykyouhei / KYDrawerController

Side Drawer Navigation Controller similar to Android
MIT License
621 stars 158 forks source link

Unable to compile in Swift4 and XCode 9.0 (9A1004) #107

Closed maxivu closed 6 years ago

maxivu commented 7 years ago

Getting following error after POD install and clean build

/Pods/KYDrawerController/KYDrawerController/Classes/KYDrawerController.swift:106:21: Argument of '#selector' refers to instance method 'didtapContainerView' that is not exposed to Objective-C /Pods/KYDrawerController/KYDrawerController/Classes/KYDrawerController.swift:84:21: Argument of '#selector' refers to instance method 'handlePanGesture' that is not exposed to Objective-C /Pods/KYDrawerController/KYDrawerController/Classes/KYDrawerController.swift:97:21: Argument of '#selector' refers to instance method 'handlePanGesture' that is not exposed to Objective-C
burkaslarry commented 7 years ago

add @objc func before 'handlePanGesture' or rewrite the selector . It is the stack-overflow type question

burkaslarry commented 7 years ago

Yet creating your own slider view is easy . I create one view controller with storyboard as slider menu and one more custom delegate. I doubt why such GitHub module requires much more settings and complexity

timusus commented 6 years ago

@ykyouhei looks like this issue has bee resolved in #104