{"id":13485369,"url":"https://github.com/SimformSolutionsPvtLtd/SSFloatingLabelTextField","last_synced_at":"2025-03-27T19:31:02.295Z","repository":{"id":47530894,"uuid":"378834416","full_name":"SimformSolutionsPvtLtd/SSFloatingLabelTextField","owner":"SimformSolutionsPvtLtd","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-21T14:03:31.000Z","size":3276,"stargazers_count":45,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T20:47:15.755Z","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/SimformSolutionsPvtLtd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-21T06:51:04.000Z","updated_at":"2024-09-06T11:33:50.000Z","dependencies_parsed_at":"2022-09-23T12:38:39.812Z","dependency_job_id":null,"html_url":"https://github.com/SimformSolutionsPvtLtd/SSFloatingLabelTextField","commit_stats":null,"previous_names":["mobile-simformsolutions/ssfloatinglabeltextfield"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSFloatingLabelTextField","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSFloatingLabelTextField/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSFloatingLabelTextField/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSFloatingLabelTextField/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimformSolutionsPvtLtd","download_url":"https://codeload.github.com/SimformSolutionsPvtLtd/SSFloatingLabelTextField/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245910742,"owners_count":20692497,"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-07-31T18:00:20.899Z","updated_at":"2025-03-27T19:31:01.846Z","avatar_url":"https://github.com/SimformSolutionsPvtLtd.png","language":"Swift","funding_links":[],"categories":["iOS","iOS Guides"],"sub_categories":["Swift"],"readme":"\u003ca href=\"https://www.simform.com/\"\u003e\u003cimg src=\"https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/blob/main/screenshots/simformBanner.png\"\u003e\u003c/a\u003e\n\n[![Platform][platform-image]][platform-url]\n[![Swift Version][swift-image]][swift-url]\n[![License][license-image]][license-url]\n[![PRs Welcome][PR-image]][PR-url]\n\n# SSFloatingLabelTextField\n\nSSFloatingLabelTextField is a small library for iOS which supports Floating labels and errors with different kind of validations. Also user can add/customise own validation and error messages. \n\n![Alt text](https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/blob/main/screenshots/SSFloatingTextField.gif?raw=true)\n\n# Features!\n\nMain Features include :- \n- Floating Placeholder label \n- Set different validations type \n- Set Custom regex for validation or for phone number formatter\n- Check if text is valid or not and display error message\n\nAll Attributes :- \n| Attribute | Description |\n| --- | --- |\n| `floatingLabelText` | Floating Placeholder label \n| `selectedLabelColor` | Color of Floating label when textfield is active\n| `unSelectedLabelColor` | Color of Floating label when textfield is active\n| `errorText` | Error message when text is not valid \n| `errorTextColor` | Color in which error message is shown\n| `type` | Set Validation type \n| `customValidationRegex` | Set Custom Regex for Validation \n| `isPasswordToggleEnable` | Toggle show hide password \n| `showPasswordImage` | Toggle image when password is visible\n| `hidePasswordImage` | Toggle image when password is visible\n  \n  # Requirements\n    - iOS 11.0+\n    - Xcode 11+\n\n # Installation\n#### CocoaPods\n \n- You can use CocoaPods to install `SSFloatingLabelTextField` by adding it to your Podfile:\n\n       use_frameworks!\n       pod 'SSFloatingLabelTextField'\n\n- Import SSFloatingLabelTextField in your file:\n\n       import SSFloatingLabelTextField\n       \n    **Manually**\n       -   Download and drop **SSFloatingLabelTextField/Sources** folder in your project.\n       -   Congratulations!\n\n\n# Usage example\n\nIn the storyboard add a UITextField and change its class to SSFloatingLabelTextField\n\n\u003cimg src=\"https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/blob/main/screenshots/Installation.png\"\u003e\n\nImport SSFloatingLabelTextField\n        \n        import SSFloatingLabelTextField\n        \nSet text type in your View Controller file :- \n\n        @IBOutlet weak var txtUsername: SSFloatingLabelTextField! // Add IBOutlet\n        txtEmail.type = .email // Assign type as email\n        txtPassword.type = .password(passwordRule: .medium) // Assign type as password \n        txtPhoneNumber.type = .phoneNumber(formatterString: nil) // Assign type as phone number (Params :- Phone number formatter default :- XXX-XXX-XXXX )\n        \nCheck if given text field is valid or not :- \n        \n        txtUsername.isValid()\n        \n\n## Find this library useful? :heart:\nSupport it by joining __[stargazers](https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/stargazers)__ for this repository. :star:\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:\n\nCheck out our [**Contributing Guide**](https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/blob/master/CONTRIBUTING.md) for ideas on contributing.\n\n## Bugs and Feedback\n\nFor bugs, feature requests, and discussion please use [GitHub Issues](https://github.com/mobile-simformsolutions/SSFloatingLabelTextField/issues).\n\n\n#  Meta\n- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n       \n       \n[swift-image]:https://img.shields.io/badge/swift-5.0-orange.svg\n[swift-url]: https://swift.org/\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE\n[platform-image]:https://img.shields.io/cocoapods/p/LFAlertController.svg?style=flat\n[platform-url]:https://github.com/mobile-simformsolutions/SSSwiftUISpinnerButton\n[PR-image]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[PR-url]:http://makeapullrequest.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSFloatingLabelTextField","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimformSolutionsPvtLtd%2FSSFloatingLabelTextField","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSFloatingLabelTextField/lists"}