{"id":28378430,"url":"https://github.com/rickytan/rtviewattachment","last_synced_at":"2025-06-16T08:05:50.055Z","repository":{"id":62452245,"uuid":"61366102","full_name":"rickytan/RTViewAttachment","owner":"rickytan","description":"Attach a custom UIView to text view","archived":false,"fork":false,"pushed_at":"2016-06-18T08:06:27.000Z","size":2635,"stargazers_count":49,"open_issues_count":4,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-06T02:31:25.189Z","etag":null,"topics":["attachment","control","image","text-editor","uiview"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/rickytan.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":"2016-06-17T10:29:40.000Z","updated_at":"2025-01-13T22:11:39.000Z","dependencies_parsed_at":"2022-11-01T23:34:21.129Z","dependency_job_id":null,"html_url":"https://github.com/rickytan/RTViewAttachment","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rickytan/RTViewAttachment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTViewAttachment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTViewAttachment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTViewAttachment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTViewAttachment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickytan","download_url":"https://codeload.github.com/rickytan/RTViewAttachment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickytan%2FRTViewAttachment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260124032,"owners_count":22962199,"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":["attachment","control","image","text-editor","uiview"],"created_at":"2025-05-30T02:06:30.181Z","updated_at":"2025-06-16T08:05:50.044Z","avatar_url":"https://github.com/rickytan.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RTViewAttachment\n\n[![CI Status](http://img.shields.io/travis/rickytan/RTViewAttachment.svg?style=flat)](https://travis-ci.org/rickytan/RTViewAttachment)\n[![Version](https://img.shields.io/cocoapods/v/RTViewAttachment.svg?style=flat)](http://cocoapods.org/pods/RTViewAttachment)\n[![License](https://img.shields.io/cocoapods/l/RTViewAttachment.svg?style=flat)](http://cocoapods.org/pods/RTViewAttachment)\n[![Platform](https://img.shields.io/cocoapods/p/RTViewAttachment.svg?style=flat)](http://cocoapods.org/pods/RTViewAttachment)\n\n## Introduction\n\nSince **iOS 7**, developers can attach a `NSTextAttachemnt` to a `UITextView`, and it will display as an image. What if I want to attach a `UIView` to a text editor, and it can layout with all other text?\n\nHere comes a solution. This project is based on `NSTextAttachment`, and no private API is used, no Black Magic.\n\n![screenshot1](./Screenshot/1.png)\n\n![screenshot2](./Screenshot/2.gif);\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n- **iOS 7** and up\n- **Xcode 7** and up\n\n## Installation\n\nRTViewAttachment is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"RTViewAttachment\"\n```\n\n## Author\n\nRicky Tan, ricky.tan.xin@gmail.com\n\n## License\n\nRTViewAttachment 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%2Frickytan%2Frtviewattachment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickytan%2Frtviewattachment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickytan%2Frtviewattachment/lists"}