Delegate property and YPSignatureDelegate are not public therefore not accessible to external code
Closed this issue · 1 comments
fvolchyoksm commented
Describe the bug
YPDrawSignatureView's weak var delegate
property and corresponding protocol YPSignatureDelegate
are not public and could not be accessed/implemented if installed via CocoaPods.
To Reproduce
Steps to reproduce the behavior:
- Install via cocoapods
pod 'YPDrawSignatureView'
- Do everything according to readme including settings class for UIView, import YPDrawSignatureView etc.
- Try to implement delegate, access delegate property
Expected behavior
Both delegate property and protocol are accessible and seen by compiler
Desktop (please complete the following information):
- OS: macOS
- Version 10.14.6
Smartphone (please complete the following information):
- not applicable
Additional context
I'm using Swift 4 in my projects by highly doubt it's the cause. Now matter what mentioned entities just should be public and that should resolve the issue.
GJNilsen commented
There is no support for cocoa pods. The problem is solved whe you add the class as instructed in the readme.