ipraba / EPSignature

Signature component for iOS in Swift
MIT License
797 stars 206 forks source link

Swift 4 Support #43

Closed joaogithub closed 6 years ago

joaogithub commented 7 years ago

I'm using EPSignature 1.0.3 as a dependency of my private Cocoa Pod. I've got several other dependencies in my pod spec file, all supporting Swift 4. I cannot get my pod spec through lint validation if I include EPSignature as a dependency.

I'm getting the following errors when running pod spec lint command: ` - ERROR | [iOS] xcodebuild: EPSignature/Pod/Classes/EPSignatureViewController.swift:42:117: error: argument of '#selector' refers to instance method 'onTouchCancelButton()' that is not exposed to Objective-C

These errors are related to Swift 3 to Swift 4 conversion. Is there any expected time for EPSignature to support Swift 4?

Thanks and congrats on your work

priyankagaikwad commented 6 years ago

Hi I also need swift 4 support for this. Is there any update for this?

ipraba commented 6 years ago

Now the library is updated with swift4 in the version 1.0.6. Kindly update your pods. Apologies for late update. 😔