{"id":15293690,"url":"https://github.com/swiftykit/swiftytextview","last_synced_at":"2025-07-15T23:33:43.142Z","repository":{"id":40798453,"uuid":"140222859","full_name":"SwiftyKit/SwiftyTextView","owner":"SwiftyKit","description":" An iOS enhanced TextView with placeholder and limit characters count support","archived":false,"fork":false,"pushed_at":"2022-06-23T08:17:09.000Z","size":349,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T14:08:07.430Z","etag":null,"topics":["cocapods","counter","draggable","interface-builder","ios","mit-license","placeholder","swift","swift4","swiftytextview","textview","uitextview"],"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/SwiftyKit.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":"2018-07-09T02:46:13.000Z","updated_at":"2024-02-27T01:57:42.000Z","dependencies_parsed_at":"2022-08-20T22:20:24.723Z","dependency_job_id":null,"html_url":"https://github.com/SwiftyKit/SwiftyTextView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftyKit%2FSwiftyTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftyKit%2FSwiftyTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftyKit%2FSwiftyTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftyKit%2FSwiftyTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftyKit","download_url":"https://codeload.github.com/SwiftyKit/SwiftyTextView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724633,"owners_count":21151561,"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":["cocapods","counter","draggable","interface-builder","ios","mit-license","placeholder","swift","swift4","swiftytextview","textview","uitextview"],"created_at":"2024-09-30T16:50:36.094Z","updated_at":"2025-04-13T14:08:13.936Z","avatar_url":"https://github.com/SwiftyKit.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftyTextView\n\n[![License](https://img.shields.io/:license-mit-blue.svg)](https://doge.mit-license.org)\n[![Language](https://img.shields.io/badge/language-swift-orange.svg?style=flat)](https://developer.apple.com/swift)\n\n## Overview\n\nSwiftyTextView is an iOS enhanced TextView with placeholder and limit characters count support.\n\n![enter image description here](https://raw.githubusercontent.com/SwiftyKit/SwiftyTextView/master/Images/screenshot.gif)\n \n \n## Installation\n \n### CocoaPods \n\nSwiftyTextView is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'SwiftyTextView'\n```\n\n### Manual\n\nDrag 'n drop SwiftyTextView.swift into your project.\n \n\n## Usage \n\n### Interface Builder \n\nSelect the UITextView you want to use and change the class to SwiftyTextView.\n\n\n - Placeholder text\n - Placeholder color\n - Limit number of characters\n - Show text count view\n\nYou can see the changes directly on the Interface Builder!\n\n### Code\n \n```swift\nlet textView:SwiftyTextView = SwiftyTextView.init(frame: CGRect.init(x: X, y: Y, width: WIDTH, height: HEIGHT))\n      textView.backgroundColor = .red\n      textView.placeholder = \"Please input text...\"\n      textView.placeholderColor = UIColor.lightGray\n      textView.minNumberOfWords = 0\n      textView.maxNumberOfWords = 30\n      textView.showTextCountView = true\n      self.view.addSubview(txtfield)\n```\n\n## Requirements\n- Swift 5.0+\n- iOS 9.0+\n\n## Contact \u0026 Contribute\n\n - Feel free to contact me with ideas or suggestions at swiftykit@gmail.com\n - Fork the project and make your own changes\n\n \n## License\n\nSwiftyTextView 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%2Fswiftykit%2Fswiftytextview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftykit%2Fswiftytextview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftykit%2Fswiftytextview/lists"}