Diego Sanchez
fa264996e8
Bumps version to 3.0.0
2016-09-21 13:47:50 +01:00
Diego Sánchez
d1b01327d1
Swift 3 migration ( #220 )
...
* Runs the Swift 3 migrator in ChattoApp.
Affects ChattoApp, ChattoAppTests, Chatto and ChattoAdditions. Does not migrate ChattoTests or ChattoAdditionsTests
* Configures Chatto And ChattoAdditions projects to use Swift 3
* Updates .travis.yml to use Xcode 8 and iPhone 7
* Uses flatMap instead of filter and force cast
* Fixes createCollectionViewLayout not being a function
* Removes useless init overrides
* Fix for new implicit unwrapping optional non-propagation rule
* Removes useless casting
* Audits accessor levels in Observable
* Fixes UIControlState.Normal replaced by UIControlState()
* Favours private over fileprivate where possible
* Audits open/public access level
* Removes conditional if for Swift 2
* Removes label from simulateTapOnTextViewForDelegate
* Audits open/public access levels
2016-09-21 12:58:25 +01:00
Diego Sanchez
1fb8acb292
Bumps version to 2.1.0
2016-09-17 22:19:46 +02:00
Diego Sanchez
bdf753f4e8
Updates changelog for 2.1 release
2016-09-17 22:19:46 +02:00
geegaset
7f46182366
accessibility identifier for ChatInputBar placeholder ( #218 )
2016-09-12 15:37:29 +01:00
geegaset
7029891b06
use camera roll as default pictures source ( #215 )
...
* use camera roll as default pictures source
* creationDate restored
2016-09-02 14:16:45 +01:00
Anton Schukin
1bab617b8d
Merge pull request #213 from badoo/IOS-9716
...
sort assets by creation date
2016-09-01 14:18:34 +01:00
Peter Kolpashchikov
9a8dd758e0
sort assets by creation date
2016-09-01 14:07:31 +01:00
Diego Sánchez
585f0dbfc7
Makes some functions and properties public in TextMessageCollectionViewCellDefaultStyle ( #207 )
2016-08-23 14:49:24 +01:00
geegaset
b98c487643
TabInputButton accessibilityId introduced ( #206 )
...
* TabInputButton accessibilityId introduced
* TabInputButton accessibilityId introduced
2016-08-23 11:48:13 +01:00
Diego Sánchez
22a3833761
Makes LiveCameraCellPresenter public and reusable out of ChattoAdditions ( #205 )
...
* Makes LiveCameraCellPresenter public and reusable out of ChattoAdditions
* Fixes tests
2016-08-22 22:14:24 +01:00
Daniel Burgess
ab286307c3
Fix a bug causing keyboard view offset to be incorrect ( #204 )
...
* Fix a bug causing keyboard view offset to be incorrect
In some rare cases, if the height of the view is a fractional point
(i.e., not a whole number), it would cause the views to not be offset
despite the keyboard being shown on top of them. This does not happen
with every fractional height. Different devices also behave a little
differently in seemingly identical layouts, due to their pixel density
being different.
The base issue is that, due to floating point rounding errors, two
values that _should_ be identical and pass the guard fail to do so,
because the lack of precision results in them not being equal. By
flooring the values, we can ignore really minor differences and ensure
rounding errors don't cause this issue.
* Unify bma_round methods to use correct calculation
Thanks to @diegosanchezr for the suggested improvement.
* Revert ChattoAdditions bma_round change
Unfortunately, removing this in favor of the Chatto version broke size
calculations, so putting it back...
* Switch to using infix operator to check float comparison
* Add utils to Chatto project
2016-08-22 15:46:32 +01:00
Diego Sánchez
e881ae93aa
Merge pull request #202 from andris-zalitis/fix-for-issue-197
...
Fixes issue with hidesBottomBarWhenPushed and a tabbar
2016-08-19 15:37:39 +01:00
Andris
94dd99f148
Fixes issue with hidesBottomBarWhenPushed and a tabbar
2016-08-15 10:18:52 +03:00
Anton
3781a41d58
Merge pull request #200 from TerekhovAnton/master
...
So generated initialisers for structs are internal and not visible from another module..
2016-08-12 15:15:33 +01:00
Anton
57cede17d9
Merge branch 'master' into master
2016-08-12 15:06:17 +01:00
Anton Terehov
4bfc854a0b
So generated initialisers for structs are internal and not visible from another module..
2016-08-12 15:03:16 +01:00
Diego Sánchez
cd1765d692
Removes references to dev branch in readme
2016-08-12 13:05:17 +01:00
Diego Sánchez
0184efc4e3
Merge pull request #199 from TerekhovAnton/master
...
Adds possibility to configure colour of LiveCameraCell, also providing default option
2016-08-12 13:02:27 +01:00
Anton Terehov
ed76fe6336
Code review comments
2016-08-12 12:00:32 +01:00
Anton Terehov
9c3b40df1d
Refactors method name
2016-08-11 17:03:44 +01:00
Anton Terehov
6307c3119f
Adds possibility to configure colour of LiveCameraCell, also providing default option.
2016-08-11 16:58:43 +01:00
Diego Sánchez
fbb95b0c60
Merge pull request #198 from badoo/xCode8Beta5Compatibility
...
Xcode 8 Beta 5 compatibility.
2016-08-10 17:14:57 +01:00
Bohdan Orlov
3608e23120
xCode 8 Beta 5 compatibility.
2016-08-10 16:31:53 +01:00
Diego Sánchez
f2beddc095
Updates Chatto version in readme
2016-08-10 12:41:17 +01:00
Diego Sanchez
0f55395762
Bumps version to 2.0.1
2016-08-08 14:46:05 +01:00
Diego Sánchez
eec82d04c9
Merge pull request #196 from badoo/fix-chattoadditions-compilation-in-optimized-mode
...
Fix ChattoAdditions compilation in optimized mode
2016-08-08 14:18:04 +01:00
Diego Sanchez
d92a312bf0
Updates Readme
2016-08-08 14:08:11 +01:00
Diego Sanchez
953659eb01
Runs Pod update
2016-08-08 14:07:37 +01:00
Diego Sanchez
a7cbdddaf3
Updates Podfile
2016-08-08 14:06:55 +01:00
Diego Sanchez
311831d4af
Allows compiling ChattoAdditions with -O instead of just debug and whole-module. This is needed to pass podspec validation
2016-08-08 14:05:58 +01:00
Diego Sanchez
75c6ccd32d
Compatibility for Xcode 8 beta
2016-08-08 13:00:58 +01:00
Diego Sanchez
dd34d2ebd0
Removes warnings
2016-08-08 12:58:08 +01:00
Diego Sanchez
5656c43bb8
Updates Changelog and Readme
2016-08-08 12:46:33 +01:00
Diego Sánchez
8dd95ad13b
Merge pull request #195 from badoo/dev
...
Merge Dev into Master
2016-08-08 12:35:02 +01:00
Diego Sanchez
1c1e5d21de
Merge remote-tracking branch 'origin/master' into dev
2016-08-08 11:54:06 +01:00
Diego Sánchez
8b003c64b8
Prepare release 2.0 ( #194 )
...
* Adds changelog
* Bumps version to 2.0.0
* Updates readme
* Updates readme with workaround for SR-2223
* Fix for readme
2016-08-08 11:33:12 +01:00
Zhao Wang
9f344f39a6
Add public initializer with frame and textContainer for ExpandableTextView ( #193 )
...
* Expose public initializer with frame and textContainer for ExpandableTextView
* add override keyword
2016-08-07 21:36:48 +01:00
Diego Sánchez
a541e5b9f3
Makes MessageViewModelProtocol callbacks willBeShown and wasHidden optional ( #190 )
2016-08-01 21:09:47 +01:00
Max Konovalov
1ef46a0e35
Add updating logic to text message ( #178 )
...
* Add updating logic to text message
* Change Observable to class
* Fix avatar hiding
* Move willBeShown/wasHidden declarations to common protocol
2016-07-31 22:53:52 +01:00
Diego Sánchez
7541a5ab64
Workaround for issue 187 ( #188 )
...
* Sets -Owholemodule in ChattoApp's ChattoAdditions so it compiles in release config (workaround for SR-2223)
* Updates pods
2016-07-30 14:48:34 +01:00
Diego Sánchez
d8a162cb0f
Xcode 8.0 b3 + swift 2.3 support ( #183 )
...
* Fixes compilation for Xcode 8.0(beta 3)/Swift 2.3
* Adds NSCameraUsageDescription and NSPhotoLibraryUsageDescription to avoid crash on iOS 10 beta
* Runs swiftlint autocorrect
2016-07-18 23:28:11 +01:00
Max Konovalov
1329c96a0e
Avatar improvements ( #176 )
...
* Add showsAvatar decoration attribute
* Add avatar tap handler
* Add avatar to photo message
* Fix tests
* Rename showsAvatar to canShowAvatar
2016-07-18 20:35:09 +01:00
Anton Schukin
e0e63e177a
Merge pull request #180 from badoo/Allow_customisation_of_timestamp_revealing_behaviour
...
Allow customisation of timestamp revealing behaviour
2016-07-13 10:18:52 +01:00
Anton Schukin
26a4a0e0c8
Allow customisation of timestamp revealing behaviour
2016-07-12 17:49:40 +01:00
Anton Schukin
7cb528d927
Merge pull request #173 from badoo/improve-responsiveness-of-camera
...
Improve responsiveness of camera
2016-07-12 15:31:27 +01:00
Anton Schukin
45730f1696
Merge branch 'dev' into improve-responsiveness-of-camera
2016-07-12 15:13:46 +01:00
Max Konovalov
7d410e5760
Make photo message cell style Colors initializer public ( #177 )
2016-07-08 00:04:34 +01:00
Diego Sánchez
359ebe1aa4
Merge branch 'dev' into improve-responsiveness-of-camera
2016-07-06 11:34:31 +01:00
Igor Kashkuta
6f0e82fb7d
Fix jolty transitions between input items. ( #174 )
2016-07-06 11:16:51 +01:00