Commit Graph

17 Commits

Author SHA1 Message Date
Anton Schukin f0198d77ce Use calculated properties instead of functions in default protocol implementation 2016-07-26 18:25:09 +01:00
Anton Schukin 15d2e1f817 Fixed tests compilation issue 2016-07-26 17:59:05 +01:00
Diego Sanchez 8f9ce5df4e Improves responsiveness of camera when switching to/from full-screen camera view. 2016-07-05 23:14:22 +01:00
Diego Sánchez 7a0f8d8e58 Improvements to photo input item: (#168)
- Just one capture session per input component.
 - Avoids starting/stoping capture during collection reloads, which can make the live camera take longer to capture or even hang.
 - Moves creation/destruction of capture session to the background: when opening/closing the input component many times it was resulting in capture start / stop blocking the main thread for some seconds on iOS 8
 - Queues updates in the collection view: doing a reloadData right after reloadItemsAtIndexPaths (update video) results in the visible cells not being refreshed
2016-06-29 23:54:15 +01:00
Igor Kashkuta a5dbc88c68 Simplify code with optionals. 2016-04-14 18:07:54 +01:00
Igor Kashkuta 67387f1d9d Add ability to disallow focus on InputItem for ChatInputBar. 2016-04-14 17:32:59 +01:00
Igor Kashkuta 4d4fbed64d Add ability to disallow the beginning of text editing for ChatInputBar. 2016-04-14 17:32:41 +01:00
Igor Kashkuta 9b4232bcb3 Rename isSendButtonEnabledForInputBar -> shouldEnableSendButton 2016-04-13 15:59:33 +01:00
Igor Kashkuta 3b449b352f Make the name for closure property more clear 2016-04-13 15:51:29 +01:00
Igor Kashkuta f62c619b80 Add ability to control Send button enabled state from external code. 2016-04-13 14:49:54 +01:00
Viacheslav Radchenko e102878d88 Show placeholder cells in photo input if not enough photos 2016-03-24 19:00:14 +00:00
Diego Sanchez 5c1bb1b615 Fixes tests 2016-03-23 23:54:20 +00:00
Anton Schukin e0b8dd89cd Adopted ChatInputBar delegation 2016-03-05 12:54:40 +00:00
Anton Schukin b7696f750c Renamed ChatInputManagerTests -> ChatInputPresenterTests 2016-03-05 12:40:21 +00:00
Anton Schukin bd1fb5ada5 Implemented proper presenter 2016-03-05 12:39:21 +00:00
Diego Sanchez a0a071afa8 Fixes linter warnings and updates some rules. Also removes deprecated '++' and '--' 2016-01-27 22:04:32 +00:00
Diego Sanchez 2884160061 Chatto inception 2015-11-26 22:48:25 +00:00