#SHFSignature
It's a simple class that provide to draw a signature and result in UIImage.
#How to use ?
Implement a protocol SHFSignatureProtocol in your UIViewController class or extension
protocol SHFSignatureProtocol {
func drawingSignature ()
func image (_ signature: UIImage?) -> ()
}
In SHFSignatureProtocol there are two functions, the first method is returned during to drawing and second method returns the UIimage signature when you finished drawing.
#and
In your Storbyboard add UIView with subclass of SHFSignatureView, this class responds to protocol.
#That's simple and useful