session-ios/Signal/src/ViewControllers/ConversationView
Michael Kirk e08fa4bcec Fix jolting animation after sending a message
When we send the nth message, we retain the footer for the n-1th message
until the nth message is successfully sent.

1. leave the footer on the n-1th message
2. draw the nth message with the "..." footer
3. update the nth message with the "sent" footer and hide the footer for
   the n-1th message

In the normal case this all happens very quickly, which results in some
unpleasant flicker every time you send a message.

The concession here is that we'll only print the n-1th footer if the
outgoing message *fails*. So until we implement a design more like
Android's double-check for sent/delivery, the user will not be able to
distinguish between a sent and delivered message *while* their message
is outgoing.

In my opinion the lack of jank in the normal case makes the app
supercedes this use case.

// FREEBIE
2017-08-17 11:19:46 -04:00
..
MessagesViewController.h Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior. 2017-06-05 16:21:26 -04:00
MessagesViewController.m Fix jolting animation after sending a message 2017-08-17 11:19:46 -04:00
MessagesViewController.xib Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior. 2017-06-05 16:21:26 -04:00
OWSMessagesComposerTextView.h Show the “scroll down” button if user scrolls up, even if there are no unread messages. 2017-06-22 15:08:35 -04:00
OWSMessagesComposerTextView.m Show the “scroll down” button if user scrolls up, even if there are no unread messages. 2017-06-22 15:08:35 -04:00
OWSMessagesInputToolbar.h Convert FingerprintViewController to programmatic layout. 2017-06-08 14:55:26 -04:00
OWSMessagesInputToolbar.m Adapt voice messages UI to RTL. 2017-07-21 14:49:12 -04:00
OWSMessagesToolbarContentView.h Convert FingerprintViewController to programmatic layout. 2017-06-08 14:55:26 -04:00
OWSMessagesToolbarContentView.m Respond to CR. 2017-07-21 14:49:24 -04:00