rtv

RTViewAttachment

Attach a custom UIView to text view

Showing:

Popularity

Downloads/wk

0

GitHub Stars

41

Maintenance

Last Commit

5yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

RTViewAttachment

CI Status Version License Platform

Introduction

Since 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?

Here comes a solution. This project is based on NSTextAttachment, and no private API is used, no Black Magic.

screenshot1

screenshot2;

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 7 and up
  • Xcode 7 and up

Installation

RTViewAttachment is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RTViewAttachment"

Author

Ricky Tan, ricky.tan.xin@gmail.com

License

RTViewAttachment is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100