ucladevx / Bruin-Bite-iOS

Mozilla Public License 2.0
8 stars 1 forks source link

Enable multi-line support on chat messages #98

Closed HirdayGupta closed 5 years ago

HirdayGupta commented 6 years ago

Motivation Right now, since we just use UILabels for chat messages, our messages only support single lines of text. We want to extend that to support multiple lines of text because that is standard behavior across messaging apps.

The Task Accepting multiline input involves several things:

  1. The textbox where the user types in the message would need to be able to dynamically grow and shrink based on the amount of text the user types in or deletes.
  2. The size of the textbox displaying the message would be dynamic too based on the number of lines needed to display it.
  3. The dynamic size of the tetxbox displaying the message adds some complication to the UITableView calculations for the Table View that is displaying the messages. These need to be handled.

Requirements

Acceptable Criteria

HirdayGupta commented 6 years ago

@Cyncia Status update on this?