- July 11, 2025
- Mins Read
Signature component for iOS written in Swift
EPSignature is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod “EPSignature”
To integrate EPSignature into your Xcode project using Carthage, specify it in your Cartfile:
github “ipraba/EPSignature”
Just drag and drop the files in Pod/Classes
folder into your project
let signatureVC = EPSignatureViewController(signatureDelegate: self, showsDate: true, showsSaveSignatureOption: true)
signatureVC.subtitleText = “I agree to the terms and conditions”
signatureVC.title = “John Doe”
let nav = UINavigationController(rootViewController: signatureVC)
presentViewController(nav, animated: true, completion: nil)
Note: You can also embed the signature view in any one of the container using the EPSignatureView
Properties | Description |
---|---|
showsDate |
Bool value that allows to show the date while signing |
showsSaveSignatureOption |
Bool value that allows the user to save the signature for future use |
signatureDelegate |
Delegate listening for events |
subtitleText |
Subtitle text for signature(Eg: Sign here) |
tintColor |
Tint color for the view controller. Applies for barbuttons, switches and actionsheet |
Properties | Description |
---|---|
strokeColor |
Stroke color of the signature |
strokeWidth |
Stroke width of the signature |
isSigned |
Bool value checks whether the user has signed or not |
func epSignature(_: EPSignature.EPSignatureViewController, didCancel error: NSError)
func epSignature(_: EPSignature.EPSignatureViewController, didSign signatureImage: UIImage, boundingRect: CGRect)
Note: boundingRect will contain the bounds of the signed image retrieved. Crop using this rect to make shorter and small signature images
A SwiftUI View that emits confetti with user-defined shapes, images, and text.
A colour wheel made all in SwiftUI. There are 2 different colour wheels to choose from. The first main one ...
A color picker implementation with color wheel appearance written in plain SwiftUI. It is compatible with UIColor and NSColor.
This repository is no longer maintained. Here's why: with the release of iOS 16 SwiftUI now enables most of the ...