slackhq / SlackTextViewController

⛔️**DEPRECATED** ⛔️ A drop-in UIViewController subclass with a growing text input view and other useful messaging features
https://slack.com/
MIT License
8.32k stars 1.08k forks source link

Why use UITextView's inputAccessoryView?? #83

Closed 0oneo closed 9 years ago

0oneo commented 9 years ago

@dzenbot

0oneo commented 9 years ago

and How you maintain such a big viewcontroller like SLKTextViewController.m, or don't you think a file which has a number of lines more than 1000 is a problem????

dzenbot commented 9 years ago

UITextView's inputAccessoryView is mainly used as a translucent anchor view for enabling keyboard dragging gesture.

This library has grown very fast and most of the implementation in the view controller isn't easy to synthethize. Yet, 2K lines of code is not so bad if things are easy to read and somehow decoupled by feature ;)