Commit Graph

141 Commits

Author SHA1 Message Date
Diego Sanchez 7432d8182e Adjust insets and offset when top layout guide changes 2016-03-30 11:29:49 +01:00
Diego Sánchez a530b7f398 Merge pull request #90 from diegosanchezr/dev
Exposes inputContainer
2016-03-29 13:03:50 +01:00
Diego Sanchez 7115c37f80 Exposes inputContainer 2016-03-29 12:45:57 +01:00
Diego Sánchez be7876fd23 Merge pull request #89 from weyg/presenter-factory
Adds presenter factory so clients can use their custom logic to create presenters.
2016-03-27 21:12:45 +01:00
Latipov Aziz a1c1389a45 made factory.createPresenter argument not optional; see comments to #84 2016-03-27 20:12:44 +03:00
Aziz Latypov 5205dbabfb * fixed warning with selector
* introduced presenterFactory
* moved presenterBuilders inside of BasePresenterFactory
2016-03-26 10:40:58 +03:00
Diego Sánchez 3ed7385258 Merge pull request #86 from badoo/master
Updates dev with master
2016-03-24 23:28:16 +00:00
Diego Sánchez cb5fed59fc Updates readme 2016-03-24 23:16:37 +00:00
Diego Sánchez 036beb268a Merge pull request #85 from Viacheslav-Radchenko/dev
Show placeholder cells in photo input if not enough photos
2016-03-24 19:24:43 +00:00
Viacheslav Radchenko e102878d88 Show placeholder cells in photo input if not enough photos 2016-03-24 19:00:14 +00:00
Viacheslav Radchenko b0793b102b Merge pull request #3 from badoo/dev
Update from original
2016-03-24 18:25:50 +00:00
Diego Sánchez f20f978b18 Merge pull request #82 from diegosanchezr/dev
Fixes build script and coverage
2016-03-24 00:05:17 +00:00
Diego Sanchez 5c1bb1b615 Fixes tests 2016-03-23 23:54:20 +00:00
Diego Sanchez f3abeec971 Makes builds not to fail silently 2016-03-23 23:34:35 +00:00
Anton Schukin 8272a78bee Merge pull request #81 from AntonPalich/Default_initializer_for_public_struct
Added default initialiser for public struct
2016-03-23 16:04:09 +00:00
Anton Schukin 62fd1ed7cd Added default initialiser for public struct 2016-03-23 15:37:50 +00:00
Diego Sánchez 43c34d63fd Merge pull request #78 from diegosanchezr/dev
Fixes blink on iOS 8 when sending text messages
2016-03-23 12:28:28 +00:00
Diego Sanchez f16bb098ae Fixes blink on iOS 8 when sending text messages 2016-03-23 11:30:59 +00:00
Diego Sánchez 2cdb56f6f0 Merge pull request #75 from diegosanchezr/dev
Allows customizing index paths to calculate offset after update
2016-03-22 18:54:29 +00:00
Diego Sanchez d66df8e80b Allows subclasses to choose what index paths are used to keep the scrolling position after an update 2016-03-22 18:24:07 +00:00
Diego Sánchez bd88319a9a Merge pull request #74 from Viacheslav-Radchenko/dev
Implement ChatInputItemProtocol directly, rather then through class extension
2016-03-22 18:23:14 +00:00
Viacheslav Radchenko f1f1f6465d Implement ChatInputItemProtocol directly, rather then through class extension 2016-03-22 17:21:40 +00:00
Anton Schukin 895a2b5e4d Merge pull request #73 from AntonPalich/Allow_to_customize_sizes_and_colors_of_photo_messages
Allow_to_customize_sizes_and_colors_of_photo_messages
2016-03-22 17:15:45 +00:00
Viacheslav Radchenko 7d2bef016d Merge pull request #2 from badoo/dev
Update from original
2016-03-22 17:14:50 +00:00
Anton Schukin 0e064424d8 Allow_to_customize_sizes_and_colors_of_photo_messages 2016-03-22 16:54:08 +00:00
Diego Sánchez d63ee00496 Merge pull request #72 from diegosanchezr/dev
Tentative fix for crash in UICollectionView.performBatchUpdates
2016-03-22 15:07:58 +00:00
Diego Sanchez b6bf5289a2 Tentative fix for crash in UICollectionView.performBatchUpdates 2016-03-22 14:41:44 +00:00
Viacheslav Radchenko 193fd454c0 Merge pull request #67 from diegosanchezr/dev
Improvements for custom styling
2016-03-22 12:07:48 +00:00
Diego Sanchez c1b7cb7553 Adopts changes in appearance on ChattoApp. The default values in appearance don't work for any app (unlocalized texts) so it's better to remove the default value and make existing apps get a compiler error. 2016-03-21 23:53:58 +00:00
Diego Sanchez 4cca18783a Fixes swiftlint warnings 2016-03-21 20:55:56 +00:00
Diego Sanchez eaa4142e17 Fixes misalignment when revealing timestamps due to different sizes (3.00 am 17.37 pm) 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
Diego Sánchez 5c28e92b5e Merge pull request #65 from Viacheslav-Radchenko/dev
Extend PhotosInputViewDeelgate with permission callbacks
2016-03-17 15:49:09 +00:00
Viacheslav Radchenko 8d33c92ae5 Merge pull request #1 from Viacheslav-Radchenko/extend-PhotosInputViewDelegate
Extend PhotosInputViewDelegate with permission handlers
2016-03-17 15:19:16 +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
Anton Schukin 4cc289f2be Merge pull request #64 from AntonPalich/Make_photoCellStyle_public
Make PhotoMessagePresenter.photoCellStyle property public
2016-03-16 10:54:15 +00:00
Anton Schukin 4ae42064cf Make PhotoMessagePresenter.photoCellStyle property public 2016-03-16 10:41:05 +00:00
Anton Schukin c846480615 Merge pull request #63 from AntonPalich/Make_presenter_properties_public
BaseMessagePresenter properties became public
2016-03-15 18:49:59 +00:00
Anton Schukin c2b13923bc BaseMessagePresenter properties became public 2016-03-15 18:07:42 +00:00
Diego Sánchez fad5bf6e7e Merge pull request #61 from zwang/dev
Expose a public initializer for BaseMessageCollectionViewCellLayoutConstants
2016-03-15 10:22:03 +00:00
Zhao Wang f7710120f5 Merge branch 'dev' of https://github.com/zwang/Chatto into dev 2016-03-14 11:24:05 -07:00
Zhao Wang 91a4d2bf61 Expose a public initializer for BaseMessageCollectionViewCellLayoutConstants
Since the default one is internal for struct.
2016-03-14 11:23:32 -07:00
Diego Sánchez 65d15bbe87 Merge pull request #62 from AntonPalich/Presenters_can_responds_on_cell_events_directly
Presenters can responds on cell events directly and implement additional behaviour in addition to interaction handlers
2016-03-14 17:22:10 +00:00
Anton Schukin 1ef01a7876 Presenters can responds on cell events directly and implement additional behaviour in addition to interaction handlers 2016-03-14 17:02:20 +00:00
Zhao Wang f8e57cbe7e Expose a public initializer for BaseMessageCollectionViewCellLayoutConstants
Since the default one is internal for struct.
2016-03-14 00:51:50 -07:00
Diego Sánchez 73e751da34 Merge pull request #59 from diegosanchezr/dev
Code grooming
2016-03-14 00:27:16 +00:00
Diego Sanchez c2626546ba Code grooming 2016-03-14 00:19:39 +00:00
Diego Sánchez 78aa23d679 Merge pull request #58 from zwang/dev
Time separators in ChattoApp. Also removes dynamicType when fetching resources from the framework.
2016-03-13 23:42:00 +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