{"id":2161,"url":"https://github.com/ipraba/EPSignature","last_synced_at":"2025-08-02T23:32:08.164Z","repository":{"id":3540185,"uuid":"49946103","full_name":"ipraba/EPSignature","owner":"ipraba","description":"Signature component for iOS in Swift","archived":false,"fork":false,"pushed_at":"2023-06-20T06:47:30.000Z","size":371,"stargazers_count":794,"open_issues_count":42,"forks_count":205,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-04-24T14:15:42.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipraba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-01-19T10:46:46.000Z","updated_at":"2024-04-10T14:32:05.000Z","dependencies_parsed_at":"2024-04-24T09:59:06.659Z","dependency_job_id":"61a755dd-53d9-4486-9f09-5c6f970d79c9","html_url":"https://github.com/ipraba/EPSignature","commit_stats":{"total_commits":61,"total_committers":11,"mean_commits":5.545454545454546,"dds":"0.34426229508196726","last_synced_commit":"82afc0fcea5d5718c09f348065301dc1ea6e5c2e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipraba%2FEPSignature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipraba%2FEPSignature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipraba%2FEPSignature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipraba%2FEPSignature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipraba","download_url":"https://codeload.github.com/ipraba/EPSignature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503132,"owners_count":17930517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:16:06.243Z","updated_at":"2024-12-06T17:30:47.732Z","avatar_url":"https://github.com/ipraba.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Other free courses","Font","Other Testing"],"readme":"\u003cp align=\"center\" \u003e\n  \u003cimg src=\"Screenshots/logo.png\" alt=\"EPSignature\" title=\"EPSignature\" width=\"196\"\u003e\n\u003c/p\u003e\n\n# EPSignature\n\nSignature component for iOS written in Swift\n\n[![Platform](https://img.shields.io/cocoapods/p/EPSignature.svg?style=flat)](http://cocoapods.org/pods/EPSignature)\n[![Swift 4.0](https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/)\n[![CI Status](https://travis-ci.org/ipraba/EPSignature.svg?branch=master)](https://travis-ci.org/ipraba/EPSignature)\n[![Version](https://img.shields.io/cocoapods/v/EPSignature.svg?style=flat)](https://cocoapods.org/?q=EPsignature)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](http://img.shields.io/badge/license-MIT-33e0ff.svg)](https://github.com/ipraba/EPSignature/blob/master/LICENSE)\n[![Twitter: @HaveYouMetPrabu](https://img.shields.io/badge/contact-@HaveYouMetPrabu-blue.svg?style=flat)](https://twitter.com/HaveYouMetPrabu)\n\n### Preview\n![Screenshot](https://raw.githubusercontent.com/ipraba/EPSignature/master/Screenshots/iPhone.png)    ![Screenshot](https://raw.githubusercontent.com/ipraba/EPSignature/master/Screenshots/iPad.png)\n\n\n### Installation\n\n##### [CocoaPods](http://cocoapods.org)\n\nEPSignature is available through CocoaPods. To install it, simply add the following line to your Podfile:\n```ruby\npod \"EPSignature\"\n```\n\n##### [Carthage](https://github.com/Carthage/Carthage#if-youre-building-for-ios)\n\nTo integrate EPSignature into your Xcode project using Carthage, specify it in your Cartfile:\n```ruby\ngithub \"ipraba/EPSignature\"\n```\n\n##### Manual Installation\n\nJust drag and drop the files in `Pod/Classes` folder into your project\n\n#### Features\n\n1. User can draw the signature either by finger or by apple pencil\n2. Ability to save the signature as default signature which can be retrieved later\n3. Ability to load the saved signature\n4. Works on both orientations(portrait and landscape)\n5. Works on both iPhone and iPad devices\n6. Also can be embedded in any container view\n7. Can extract the signature as Image\n8. Draws smoothly\n\n### Initialization of EPSignatureViewController\n```swift\nlet signatureVC = EPSignatureViewController(signatureDelegate: self, showsDate: true, showsSaveSignatureOption: true)\nsignatureVC.subtitleText = \"I agree to the terms and conditions\"\nsignatureVC.title = \"John Doe\"\nlet nav = UINavigationController(rootViewController: signatureVC)\npresentViewController(nav, animated: true, completion: nil)\n```\n\nNote: You can also embed the signature view in any one of the container using the EPSignatureView\n\n### Properties of EPSignatureViewController\n\nProperties | Description\n---- | ---------\n**`showsDate`**|`Bool value that allows to show the date while signing`\n**`showsSaveSignatureOption`**|`Bool value that allows the user to save the signature for future use`\n**`signatureDelegate`**|`Delegate listening for events`\n**`subtitleText`**|`Subtitle text for signature(Eg: Sign here)`\n**`tintColor`**|`Tint color for the view controller. Applies for barbuttons, switches and actionsheet`\n\n### Properties of EPSignatureView\n\nProperties | Description\n---- | ---------\n**`strokeColor`**|`Stroke color of the signature`\n**`strokeWidth`**|`Stroke width of the signature`\n**`isSigned`**|`Bool value checks whether the user has signed or not`\n\n### EPSignatureViewController Delegates\n```swift\nfunc epSignature(_: EPSignature.EPSignatureViewController, didCancel error: NSError)\nfunc epSignature(_: EPSignature.EPSignatureViewController, didSign signatureImage: UIImage, boundingRect: CGRect)\n```\n\nNote: boundingRect will contain the bounds of the signed image retrieved. Crop using this rect to make shorter and small signature images\n\n### License\n\nEPSignature is available under the MIT license. See the [LICENSE](https://github.com/ipraba/EPSignature/blob/master/LICENSE) file for more info.\n\n### Author\n\n[@ipraba](https://github.com/ipraba)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipraba%2FEPSignature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipraba%2FEPSignature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipraba%2FEPSignature/lists"}