MYPMessageController is a message style controller with a growable textview input.
It could be used in many cases, especailly in conversation style or comment style or discussion style.
- configurable action and surfaces:
- 4 default buttons within text inputbar suitable for almost every cases.
- You can change or configure all the buttons look and action, of cource including removing from the visible view.
- APIs are ready. You just need to override or implement in your subclass.
- all the other surfaces are configurable, such as background color, divider line, font, contentSize, margin, ...
- growable taxt view input:
- initial 1 line height and then could grow depend on text inputed.
- max number of lines visible limited. It has a max height. Scrollable to see other text.
- Undo/Redo supported:
- 10 undo/redo levels.
- text caches supported:
- cache input text supported.
- open API to configure cache enviroment.
- oritation/rotation supported:
- with all direction or rotation supported.
- ipad compatible.
- table view, collection view, scroll view supported.
- inverted arrange supported.
- autoCompletion supported.
- external keyboard supported.
- storyboad and programming supported.
- more convenient for markdown input.
- markdown input supported.
- markdown cell.
- default emotion keyboard.
- emotion text support.
- more cell style and surfaces.
- more examples or use cases.
- separate TextView and Controller, then could use a non-controller input view.
- documentation--coming soon.
Coming soon
Coming soon
Wechat: pptpdf
To run the example project, clone the repo, and run pod install
from the Example directory first.
MYPMessageController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MYPMessageController'
wakary, [email protected]
MYPMessageController is available under the MIT license. See the LICENSE file for more info.