随着文字输入自动增加的文本输入框尺寸:SlackTextViewController

jopen 10年前

一个简易的UIViewController子类,拥有随着文字输入会自动增加的文本输入框尺寸和其它一些消息功能。 意味着可以替代UITableViewController&UICollectionViewController。

特性:

Core

  • iOS 7 and iOS 8
  • iPhone 6 compatible
  • iPad compatible
  • Support for UITableView and UICollectionView
  • Built with Auto Layout
  • Customizable: provides left and right button, and toolbar outlets
  • Growing text view, with line count limit support
  • Autocomplete mode by registering any prefix key (@, #, /)
  • Tap gesture for dismissing the keyboard
  • Text append APIs
  • External keyboard support for basic commands
  • Rotation support
  • Localization support