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
Zhao Wang
217c9127be
Add timestamp separator in message view using extra DecoratedChatItem
2016-03-13 09:14:48 -07:00
Diego Sánchez
2733b83e8c
Merge pull request #55 from zwang/feature-avatar
...
Adds support for user avatars
2016-03-12 11:37:51 +00:00
Zhao Wang
c811ade011
avatar for messages update based on feedback
...
Also allow user to override layoutConstants in
BaseMessageCollectionViewCell and allow user to specify
VerticalAlignment of avatar: Top, Bottom or Center
2016-03-11 23:17:40 -08:00
Anton Schukin
052c6076f3
Merge pull request #57 from AntonPalich/PhotoMessageCollectionViewCellDefaultStyle_public_initializer
...
Added default init method for PhotoMessageCollectionViewCellDefaultStyle
2016-03-10 16:35:58 +00:00
Anton Schukin
239c36f33a
Added default init method for PhotoMessageCollectionViewCellDefaultStyle
2016-03-10 15:55:53 +00:00
Zhao Wang
6c09805fb9
Change to show avatar for both incoming and outgoing message for demo purpose
2016-03-10 00:09:07 -08:00
Zhao Wang
15dea4cfc6
Add comments about how to display avatar
2016-03-10 00:01:24 -08:00
Zhao Wang
139c56e793
Add avatar implementation and demo
2016-03-09 23:53:26 -08:00
Diego Sánchez
6486e8202d
Merge pull request #53 from zwang/dev
...
Fixes typo: BaseMessageCollectionViewCellDefaultSyle -> BaseMessageCollectionViewCellDefaultStyle
2016-03-09 12:41:13 +00:00
Zhao Wang
847028553e
Update ChattoAdditions Project file too
2016-03-08 23:23:13 -08:00
Zhao Wang
d3b3c8561a
Also change the file name for typo
2016-03-08 23:18:43 -08:00
Zhao Wang
6e0d014571
Fix a class name typo
...
BaseMessageCollectionViewCellDefaultSyle ->
BaseMessageCollectionViewCellDefaultStyle
2016-03-08 22:02:59 -08:00
Diego Sánchez
a0cdf8c49e
Merge pull request #52 from AntonPalich/PhotoMessagePresenterBuilder_Public_Properties
...
Make several properties in PhotoMessagePresenterBuilder public
2016-03-08 14:30:38 +00:00
Anton Schukin
8c8413432d
Make PhotoMessagePresenter.photoCell public
2016-03-08 14:26:42 +00:00