{"id":30805387,"url":"https://github.com/simformsolutionspvtltd/sssignaturepad","last_synced_at":"2025-09-06T00:56:50.741Z","repository":{"id":249622696,"uuid":"829997476","full_name":"SimformSolutionsPvtLtd/SSSignaturePad","owner":"SimformSolutionsPvtLtd","description":"SSSignaturePad is a lightweight and easy-to-use signature pad for iOS applications. It allows users to draw smooth signatures with their finger or a stylus and provides options to customize the appearance and behavior of the signature pad in SwiftUI","archived":false,"fork":false,"pushed_at":"2024-11-15T06:43:28.000Z","size":38,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-02T12:42:28.206Z","etag":null,"topics":["signature","signature-pad","signaturepad","signatures","swift","swiftui","swiftui-components","swiftui-demo","swiftui-example","swiftui-learning"],"latest_commit_sha":null,"homepage":"","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/SimformSolutionsPvtLtd.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,"publiccode":null,"codemeta":null}},"created_at":"2024-07-17T12:07:30.000Z","updated_at":"2024-11-27T16:26:11.000Z","dependencies_parsed_at":"2024-07-22T09:45:11.846Z","dependency_job_id":null,"html_url":"https://github.com/SimformSolutionsPvtLtd/SSSignaturePad","commit_stats":null,"previous_names":["simformsolutionspvtltd/sssignaturepad"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SimformSolutionsPvtLtd/SSSignaturePad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSSignaturePad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSSignaturePad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSSignaturePad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSSignaturePad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimformSolutionsPvtLtd","download_url":"https://codeload.github.com/SimformSolutionsPvtLtd/SSSignaturePad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSSignaturePad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273842836,"owners_count":25177921,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["signature","signature-pad","signaturepad","signatures","swift","swiftui","swiftui-components","swiftui-demo","swiftui-example","swiftui-learning"],"created_at":"2025-09-06T00:56:49.232Z","updated_at":"2025-09-06T00:56:50.730Z","avatar_url":"https://github.com/SimformSolutionsPvtLtd.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSSignaturePad\n\n\n[![Version](https://img.shields.io/cocoapods/v/SSSignaturePad.svg?style=flat)](https://cocoapods.org/pods/SSSignaturePad)\n[![License](https://img.shields.io/cocoapods/l/SSSignaturePad.svg?style=flat)](https://cocoapods.org/pods/SSSignaturePad)\n[![Platform](https://img.shields.io/cocoapods/p/SSSignaturePad.svg?style=flat)](https://cocoapods.org/pods/SSSignaturePad)\n\n`SSSignaturePad` is a lightweight and easy-to-use signature pad for iOS applications. It allows users to draw smooth signatures with their finger or a stylus and provides options to customize the appearance and behavior of the signature pad in SwiftUI\n\n## Features\n\n- Smooth signature drawing\n- Export signature as image\n- Clear signature functionality\n\n## Requirements\n\n- iOS 15.0+\n- Xcode 14.0+\n- Swift 5.0+\n\n## Installation\n\n### CocoaPods\n\n`SSSignaturePad` is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your `Podfile`:\n\npod 'SSSignaturePad'\n\n## SwiftUI Usage example\n\n        import SwiftUI\n        import SSSignaturePad\n\n        struct ContentView: View {\n            @State var isSigning: Bool = false\n            @State var clearSignature: Bool = false\n            @Binding var signatureImage: UIImage?\n            @Binding var signaturePDF: Data?\n\n            var body: some View {\n                VStack(spacing: 16) {\n                    ZStack(alignment: isSigning ? .bottomTrailing: .center) {\n                        SignatureViewContainer(clearSignature: $clearSignature, signatureImage: $signatureImage, pdfSignature: $signaturePDF)\n                            .disabled(!isSigning)\n                            .frame(height: 197)\n                            .frame(maxWidth: .infinity)\n                            .background(.white)\n                            .overlay(\n                                RoundedRectangle(cornerRadius: 8)\n                                    .stroke(Color.red, lineWidth: 3)\n                            )\n                        if isSigning {\n                            Button(action: {\n                                clearSignature = true\n                            }, label: {\n                                HStack {\n                                    Text(\"Clear\")\n                                        .font(.callout)\n                                        .foregroundColor(.black)\n                                }\n                                .padding(.horizontal, 12)\n                                .frame(height: 28)\n                                .background(\n                                    Capsule()\n                                        .fill(.red)\n                                )\n                            })\n                            .offset(.init(width: -12, height: -12))\n                        } else {\n                            Button(action: {\n                                isSigning = true\n                            }, label: {\n                                VStack(alignment: .center, spacing: 0) {\n                                    Image(systemName: \"pencil\")\n                                        .resizable()\n                                        .foregroundColor(.black)\n                                        .frame(width: 20, height: 20)\n                                        .padding(8)\n                                    Text(\"Sign here\")\n                                        .font(.footnote)\n                                        .foregroundColor(.gray)\n                                }\n                            })\n                        }\n                    }\n                    .padding(.top, 16)\n                    .padding(.horizontal, 3)\n\n                }\n                .padding()\n            }\n        }\n\n## How to Contribute 🤝 \n\nWhether you're helping us fix bugs, improve the docs, or a feature request, we'd love to have you! :muscle:\nCheck out our [**Contributing Guide**](CONTRIBUTING.md) for ideas on contributing.\n\n## Find this example useful? ❤️\n\nSupport it by joining [stargazers](https://github.com/SimformSolutionsPvtLtd/SSSignaturePad/stargazers) :star: for this repository.\n\n## Bugs and Feedback\n\nFor bugs, feature feature requests, and discussion use [GitHub Issues](https://github.com/SimformSolutionsPvtLtd/SSSignaturePad/issues).\n\n\n## Check out our other Libraries\n\n\u003ch3\u003e\u003ca href=\"https://github.com/SimformSolutionsPvtLtd/Awesome-Mobile-Libraries\"\u003e\u003cu\u003e🗂 Simform Solutions Libraries→\u003c/u\u003e\u003c/a\u003e\u003c/h3\u003e\n\n\n## MIT License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n[PR-image]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\n[PR-url]:http://makeapullrequest.com\n[swift-image]:https://img.shields.io/badge/swift-5.0-orange.svg\n[swift-url]: https://swift.org/\n[Swift Compatibility-badge]: https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSimformSolutionsPvtLtd%2FSSSwiftUIGIFView%2Fbadge%3Ftype%3Dswift-versions\n[Platform Compatibility-badge]: https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSimformSolutionsPvtLtd%2FSSSwiftUIGIFView%2Fbadge%3Ftype%3Dplatforms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimformsolutionspvtltd%2Fsssignaturepad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimformsolutionspvtltd%2Fsssignaturepad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimformsolutionspvtltd%2Fsssignaturepad/lists"}