{"id":20478124,"url":"https://github.com/swiftui-plus/textview","last_synced_at":"2025-05-09T02:33:30.075Z","repository":{"id":38452039,"uuid":"401110916","full_name":"SwiftUI-Plus/TextView","owner":"SwiftUI-Plus","description":"Provides a SwiftUI multi-line TextView implementation including support for auto-sizing. (iOS)","archived":true,"fork":false,"pushed_at":"2023-05-06T22:15:45.000Z","size":21,"stargazers_count":62,"open_issues_count":0,"forks_count":20,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T21:14:07.697Z","etag":null,"topics":["ios","multi-line-text","multiline","swift","swiftui","text","textview"],"latest_commit_sha":null,"homepage":"https://benkau.com/packages.json","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/SwiftUI-Plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-29T18:13:02.000Z","updated_at":"2024-03-28T01:44:37.000Z","dependencies_parsed_at":"2023-01-24T09:15:44.403Z","dependency_job_id":null,"html_url":"https://github.com/SwiftUI-Plus/TextView","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/SwiftUI-Plus%2FTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftUI-Plus","download_url":"https://codeload.github.com/SwiftUI-Plus/TextView/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177929,"owners_count":21866418,"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":["ios","multi-line-text","multiline","swift","swiftui","text","textview"],"created_at":"2024-11-15T15:35:16.726Z","updated_at":"2025-05-09T02:33:25.121Z","avatar_url":"https://github.com/SwiftUI-Plus.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\n\nThis library is now deprecated in favour of a more complete and SwiftUI friendly `TextEditor` backport:\n\nhttps://github.com/shaps80/SwiftUIBackports\n\u003e See it in action here: https://twitter.com/shaps/status/1654972428286668800?s=20\n\n![TextEditor Backport](https://pbs.twimg.com/media/FvekWp2XwAICDRq?format=jpg\u0026name=large)\n\n---\n\n# TextView\n\n\u003e Also available as a part of my [SwiftUI+ Collection](https://benkau.com/packages.json) – just add it to Xcode 13+\n\nProvides a SwiftUI multi-line TextView implementation with support for iOS v13+\n\n## WIP\n\n-   [ ] Improved formatting support\n\n## Features\n\n-   Configure all properties via modifiers\n-   Multi-line text\n-   Placeholder\n-   No predefined design, full-flexibility to design in Swift UI\n-   UIFont extensions to give you SwiftUI Font APIs\n-   Auto-sizes height to fit content as you type\n\n## Example\n\n```swift\nTextView($text)\n    .placeholder(\"Enter some text\") { view in\n        view.foregroundColor(.gray)\n    }\n    .padding(10)\n    .overlay(\n        RoundedRectangle(cornerRadius: 10)\n            .stroke(lineWidth: 1)\n            .foregroundColor(Color(.placeholderText))\n    )\n    .padding()\n```\n\n## Installation\n\nThe code is packaged as a framework. You can install manually (by copying the files in the `Sources` directory) or using Swift Package Manager (**preferred**)\n\nTo install using Swift Package Manager, add this to the `dependencies` section of your `Package.swift` file:\n\n`.package(url: \"https://github.com/SwiftUI-Plus/TextView.git\", .upToNextMinor(from: \"1.0.0\"))`\n\n## Other Packages\n\nIf you want easy access to this and more packages, add the following collection to your Xcode 13+ configuration:\n\n`https://benkau.com/packages.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Ftextview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftui-plus%2Ftextview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Ftextview/lists"}