{"id":2938,"url":"https://github.com/ruslanskorb/RSKPlaceholderTextView","last_synced_at":"2025-08-03T12:31:43.184Z","repository":{"id":62452203,"uuid":"47954306","full_name":"ruslanskorb/RSKPlaceholderTextView","owner":"ruslanskorb","description":"A light-weight UITextView subclass that adds support for placeholder.","archived":false,"fork":false,"pushed_at":"2024-01-20T10:20:53.000Z","size":357,"stargazers_count":229,"open_issues_count":0,"forks_count":41,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T15:48:41.348Z","etag":null,"topics":["placeholder","swift","text","textview"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruslanskorb.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":"2015-12-14T05:38:35.000Z","updated_at":"2024-07-05T14:19:28.000Z","dependencies_parsed_at":"2023-11-29T22:25:58.168Z","dependency_job_id":"ede7dcf1-5336-478a-a5c1-6ba9101affe3","html_url":"https://github.com/ruslanskorb/RSKPlaceholderTextView","commit_stats":{"total_commits":75,"total_committers":6,"mean_commits":12.5,"dds":"0.31999999999999995","last_synced_commit":"941b263de5344c03b89c46c30e85ad48b0da24a1"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslanskorb%2FRSKPlaceholderTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslanskorb%2FRSKPlaceholderTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslanskorb%2FRSKPlaceholderTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslanskorb%2FRSKPlaceholderTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruslanskorb","download_url":"https://codeload.github.com/ruslanskorb/RSKPlaceholderTextView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228308733,"owners_count":17899733,"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":["placeholder","swift","text","textview"],"created_at":"2024-01-05T20:16:26.847Z","updated_at":"2025-08-03T12:31:43.144Z","avatar_url":"https://github.com/ruslanskorb.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["TextField \u0026 TextView","Layout","Other free courses"],"readme":"## RSKPlaceholderTextView [![Swift 5.7](https://img.shields.io/badge/Swift-5.7-orange.svg?style=flat)](https://developer.apple.com/swift/) [![Swift Package Manager Compatible](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange.svg?style=flat\")](https://swift.org/package-manager/) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/RSKPlaceholderTextView.svg)](https://cocoapods.org) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"RSKPlaceholderTextViewExample/RSKPlaceholderTextViewExample.gif\" alt=\"Sample\"\u003e\n\u003c/p\u003e\n\nA light-weight UITextView subclass that adds support for placeholder.\n\n## Installation\n\n### Using [Swift Package Manager](https://swift.org/package-manager/)\n\n1. To add the `RSKPlaceholderTextView` package to your Xcode project, select File \u003e Swift Packages \u003e Add Package Dependency and enter the repository URL. \n    \n        https://github.com/ruslanskorb/RSKPlaceholderTextView.git\n\n### Using [CocoaPods](http://cocoapods.org)\n\n1.  Add the pod `RSKPlaceholderTextView` to your [Podfile](http://guides.cocoapods.org/using/the-podfile.html).\n\n        pod 'RSKPlaceholderTextView'\n\n2.  Run `pod install` from Terminal, then open your app's `.xcworkspace` file to launch Xcode.\n\n### Using [Carthage](https://github.com/Carthage/Carthage)\n\n1.  Add the `ruslanskorb/RSKPlaceholderTextView` project to your [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#cartfile).\n\n        github \"ruslanskorb/RSKPlaceholderTextView\"\n\n2.  Run `carthage update`, then follow the [additional steps required](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add the iOS and/or Mac frameworks into your project.\n\n## Basic Usage\n\nImport the module.\n\n```swift\nimport RSKPlaceholderTextView\n```\n\nJust create a text view and set the placeholder.\n\n```swift\noverride func viewDidLoad() {\n    super.viewDidLoad()\n\n    self.textView = RSKPlaceholderTextView(frame: CGRect(x: 0, y: 20, width: self.view.frame.width, height: 100))\n    self.textView.placeholder = \"What do you want to say about this event?\"\n\n    self.view.addSubview(self.textView)\n}\n```\n\n## Demo\n\nBuild and run the `RSKPlaceholderTextViewExample` project in Xcode to see `RSKPlaceholderTextView` in action.\nHave fun. Figure out hooks for customization.\n\n## Contact\n\nRuslan Skorb\n\n- http://github.com/ruslanskorb\n- ruslan.skorb@gmail.com\n\n## License\n\nThis project is available under the Apache License, version 2.0. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruslanskorb%2FRSKPlaceholderTextView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruslanskorb%2FRSKPlaceholderTextView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruslanskorb%2FRSKPlaceholderTextView/lists"}