Commit Graph

18 Commits

Author SHA1 Message Date
Anton Schukin c17a99014b Move ChatInputItem selected and enabled properties to protocol extension 2016-07-26 17:55:42 +01:00
Anton Schukin a8ba3531b7 tabView renamed to inputButton for consistency 2016-07-26 17:50:17 +01:00
Anton Schukin 3fa9853321 TabInputButton renamed to ChatInputButton for consistency 2016-07-26 17:34:57 +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
Diego Sánchez 5c3c84e6a6 Input bar customization enhancements (#154)
Adds more customizable options to the input bar

Bar with icons gets customizable height
Buttons get customizable intrinsic contentSize, so they can be bigger and easy to tap
Buttons get customizable images for any UIControlState
Send button gets customizable text colors for any UIControlState
2016-06-16 15:27:37 +01:00
Diego Sánchez 62757faa54 Fixes cell being configured with the wrong image coming from PHImageManager (#137) 2016-05-25 18:32:16 +01:00
Diego Sanchez eb84520fff Updates to Swift 2.2 2016-04-11 14:22:56 +01:00
Anton Schukin 9062c4cec0 Listening for photo library updates 2016-03-31 16:50:53 +01:00
Viacheslav Radchenko e102878d88 Show placeholder cells in photo input if not enough photos 2016-03-24 19:00:14 +00:00
Viacheslav Radchenko f1f1f6465d Implement ChatInputItemProtocol directly, rather then through class extension 2016-03-22 17:21:40 +00:00
Diego Sanchez 4cca18783a Fixes swiftlint warnings 2016-03-21 20:55:56 +00:00
Diego Sanchez 2c5b065d5c Improvements for custom styling
- Allows reusing default styles by injecting parameters
 - Insets and fonts for input component
2016-03-21 20:49:30 +00:00
Viacheslav Radchenko 0e35ad6ba9 Added block handlers 2016-03-17 15:17:49 +00:00
Viacheslav Radchenko a9b230fe50 Extend PhotosInputViewDeelgate with permission callbacks 2016-03-17 11:43:12 +00:00
Zhao Wang 1699199857 update self.dynamicType to static type to avoid potential issues of finding default images in NSBundle 2016-03-13 13:19:51 -07: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