{"id":2964,"url":"https://github.com/roytornado/RSFloatInputView","last_synced_at":"2025-08-03T12:31:44.499Z","repository":{"id":62452181,"uuid":"81472349","full_name":"roytornado/RSFloatInputView","owner":"roytornado","description":"A Float Input View with smooth animation and supporting icon and seperator written with Swift","archived":false,"fork":false,"pushed_at":"2020-03-20T23:06:35.000Z","size":3167,"stargazers_count":101,"open_issues_count":4,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-24T18:58:18.072Z","etag":null,"topics":["coretext","floating-labels","forms","swift","ui-components","uitextfield"],"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/roytornado.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}},"created_at":"2017-02-09T16:48:31.000Z","updated_at":"2024-04-24T18:58:18.073Z","dependencies_parsed_at":"2022-11-01T23:34:46.249Z","dependency_job_id":null,"html_url":"https://github.com/roytornado/RSFloatInputView","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roytornado%2FRSFloatInputView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roytornado%2FRSFloatInputView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roytornado%2FRSFloatInputView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roytornado%2FRSFloatInputView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roytornado","download_url":"https://codeload.github.com/roytornado/RSFloatInputView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543220,"owners_count":17934444,"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":["coretext","floating-labels","forms","swift","ui-components","uitextfield"],"created_at":"2024-01-05T20:16:27.566Z","updated_at":"2024-12-07T00:31:08.179Z","avatar_url":"https://github.com/roytornado.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["TextField \u0026 TextView","Other free courses"],"readme":"# RSFloatInputView\n\n[![Version](https://img.shields.io/cocoapods/v/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView)\n[![License](https://img.shields.io/cocoapods/l/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView)\n[![Platform](https://img.shields.io/cocoapods/p/RSFloatInputView.svg?style=flat)](http://cocoapods.org/pods/RSFloatInputView)\n\n## Features\n* Smooth animation using CoreText\n* Support optional left icon\n* Support optional seperator\n* Configurable padding, size, fonts and colors\n* Ready for multi styles\n* Ready for string localization\n* Configurable in interface builder\n\n## Demo\n\n[Yotube Video Demo](https://youtu.be/_08pUzXVp5s \"Youtube\")\n\n\u003cimg src=\"./ss_gif.gif\" width=\"200\"\u003e\n\u003cimg src=\"./ss_light.png\" width=\"200\"\u003e\n\u003cimg src=\"./ss_dark.png\" width=\"200\"\u003e\n\n\n## Customization\n\n```\nfunc application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -\u003e Bool {\n    RSFloatInputView.stringTransformer = {\n      orginal in\n      // Transform the place holder string configured in XIB with your own way.\n      // e.g return NSLocalizedString(orginal, comment: orginal)\n      return orginal.replacingOccurrences(of: \"TXT_\", with: \"\")\n    }\n    RSFloatInputView.instanceTransformer = {\n      instance in\n      // Support multi-styles in one place using the tag\n      if instance.tag == 0 {\n        instance.floatPlaceHolderColor = UIColor.brown\n        instance.textColor = UIColor.darkText\n        instance.tintColor = UIColor.brown\n      }\n      if instance.tag == 1 {\n        instance.floatPlaceHolderColor = UIColor.blue\n        instance.textColor = UIColor.darkText\n        instance.tintColor = UIColor.blue\n      }\n    }\n    return true\n  }\n```\n\n## Requirements\n* iOS 8.0\n* Swift 4.1\n\n## Installation\n\nRSFloatInputView is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:\n\n```ruby\npod \"RSFloatInputView\"\n```\n\n## Author\n\nRoy Ng, roytornado@gmail.com\n@ Redso, https://www.redso.com.hk/\n\nLinkedin: https://www.linkedin.com/in/roy-ng-19427735/\n\n## License\n\nRSFloatInputView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froytornado%2FRSFloatInputView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froytornado%2FRSFloatInputView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froytornado%2FRSFloatInputView/lists"}