Shin Yamamoto
a5bf02cfec
Merge pull request #228 from SCENEE/fix-unexpected-layout-update
...
Fix an unexpected layout update on iOS13
2019-06-29 08:32:48 +09:00
Shin Yamamoto
c10186e50a
Prevent an unexpected layout update on iOS13
...
On iOS13, UITraitCollection.userInterfaceStyle can be changed
from .light to .dark when an app transitions to the background.
2019-06-29 07:41:52 +09:00
Shin Yamamoto
7a1cbf99d4
Rename setUpLayout to activateLayout
2019-06-28 20:23:10 +09:00
Shin Yamamoto
c9c4000536
Merge pull request #225 from SCENEE/fix-seamless-scrolling
...
Remove workaround for tableView(_:didSelectRowAt:) issue
2019-06-19 10:34:57 +09:00
Shin Yamamoto
656bbc1b1c
Remove workaround for tableView(_:didSelectRowAt:) issue
...
The workaround was added to avoid `tableView(_:didSelectRowAt:)` not
being called on first tap after the moving animation. However, it
doesn't only resolved the issue, but also has side effects.
For example, it affects the seamless scrolling in dragging up a panel from
half to full after bouncing it in the bottom buffer. The problem occurs
on "Tab2" sample of "Show Tab Bar".
Moreover the UITableView issue seems to be relieved on iOS 13.
Therefore I remove the workaround.
2019-06-19 09:39:56 +09:00
Shin Yamamoto
3815a08af5
Merge pull request #221 from SCENEE/fix-closing-panel-in-bounce
...
Fix closing panel during internal scroll view bounce
2019-06-17 08:04:56 +09:00
Shin Yamamoto
404fdb6496
Fix flushing a scroll indicator
...
1. A scroll indicator flushed at the first time when a tacking scroll view's
offset is zero and a user swipes down a panel at the top most position
2. A scroll indicator flushed at the first time when a tacking scroll view's
offset is zero and a user swipes up a panel at non top most position
2019-06-16 21:33:37 +09:00
Shin Yamamoto
573f355c15
Remove unnecessary code
...
There is not reason why the code is needed because the scroll tracking
logic is working well without it.
2019-06-16 21:32:35 +09:00
Shin Yamamoto
bd0c891795
Fix closing panel during internal scroll view bounce
...
Now the scroll tracking is working well without the scroll offset handling
at the top most position in the callback of a scroll pan gesture.
2019-06-14 14:00:55 +09:00
Robbie Trencheny
f4857a3da9
Add Swift Package Manager support ( #219 )
...
* Add Package.swift
2019-06-13 07:59:12 +09:00
Shin Yamamoto
e074c3caf1
Merge pull request #220 from SCENEE/fix-removal-crash
...
Fix the crash while closeing via dragging
2019-06-12 08:56:31 +09:00
Shin Yamamoto
0f4c7503b1
Fix the crash while closeing via dragging
...
While closing the viewcontroller via dragging, calling floatPanelController's hide() will cause a crash.
2019-06-11 08:26:16 +09:00
Shin Yamamoto
2cb142a31f
Merge pull request #213 from SCENEE/release-1.6.0
...
Release v1.6.0
2019-06-03 22:12:36 +09:00
Shin Yamamoto
2b05ea8d92
Release v1.6.0
v1.6.0
2019-06-03 20:56:04 +09:00
Shin Yamamoto
d255e1ea4a
Call `super.updateConstraints()' as the final step
2019-06-03 20:51:58 +09:00
Shin Yamamoto
6fcb817fb8
Add the rubberbanding behavior for top & bottom buffer ( #144 )
...
* Add sample code
* Fix updateInteractiveTopConstraint()
* {min,max}Y variables are confusing because it's not a value of coordinate Y,
but a constant value from the `interactiveTopConstraint`.
2019-06-01 16:19:09 +09:00
Shin Yamamoto
e2ebfd01df
Merge pull request #211 from SCENEE/avoid-weird-crash
...
* Use wholemodule compilation mode on Debug
* Set APPLICATION_EXTENSION_API_ONLY to YES by default
2019-06-01 13:55:00 +09:00
Sven Tiigi
cf70929204
Added ContentInset Property on SurfaceView API ( #200 )
...
* Added Show ContentInset to Example application
2019-06-01 13:46:18 +09:00
Shin Yamamoto
624e3f7553
Set APPLICATION_EXTENSION_API_ONLY to YES by default
2019-05-31 13:34:26 +09:00
Shin Yamamoto
3cc8538db3
Use wholemodule compilation mode on Debug
2019-05-31 13:34:07 +09:00
Shin Yamamoto
a9a65436bb
Merge pull request #209 from SCENEE/improve-tests
...
Add unit tests
2019-05-27 22:21:37 +09:00
Shin Yamamoto
353dabfc47
Update Maps example for iOS 10 shadow
2019-05-25 16:07:22 +09:00
Shin Yamamoto
1bdf0f5b78
Remove unnecessary frame update
2019-05-25 16:07:22 +09:00
Shin Yamamoto
6696d7f71d
Fix UIVisualEffectView on iOS10
...
This regression has happened since v1.2.0
2019-05-25 16:07:22 +09:00
Shin Yamamoto
59a6c7e576
Fix errors on simulator testing
...
Fix the following errors.
- 'dyld: program was built for a platform that is not supported by this runtime'
- 'dyld: Library not loaded: @rpath/libswiftCore.dylib'
2019-05-25 16:07:22 +09:00
Shin Yamamoto
0b0148635e
Fix .travis.yml
2019-05-25 16:07:22 +09:00
Shin Yamamoto
c354d8ea92
Modify FloatingSurfaceView.cornerRadius
2019-05-25 16:07:22 +09:00
Shin Yamamoto
9562cdaccb
Clean up surface props
2019-05-25 16:07:22 +09:00
Shin Yamamoto
bcfff8a33a
Add FloatingPanelViewTests
2019-05-25 16:07:21 +09:00
Shin Yamamoto
f5c409ba90
Fix test failed on iOS 10.3.1
...
This resolves the following error.
> xctest (86533) encountered an error (Failed to load the test bundle. (Underlying error: The bundle “FloatingPanelTests” couldn’t be loaded because it is damaged or missing necessary resources. The bundle is damaged or missing necessary resources. dlopen_preflight(..omitted../Build/Products/Test-iphonesimulator/FloatingPanelTests.xctest/FloatingPanelTests): no suitable image found. Did find:
> ..omitted../Build/Products/Test-iphonesimulator/FloatingPanelTests.xctest/FloatingPanelTests: mach-o, but not built for iOS simulator))
2019-05-25 16:06:56 +09:00
Shin Yamamoto
2f23520330
Improve ViewTests.test_WarningRetainCycle()
2019-05-25 16:06:56 +09:00
Shin Yamamoto
a95694cbfc
Add testing jobs in Travic CI
2019-05-25 16:06:56 +09:00
Shin Yamamoto
6cfba6495f
Add TestingApp
2019-05-25 16:06:52 +09:00
Shin Yamamoto
b9f3de1c64
Merge pull request #207 from SCENEE/improve-surface-w-lazy-props
...
Improve surface w lazy props
2019-05-21 22:56:02 +09:00
Shin Yamamoto
c67b56e7af
Clean up code
2019-05-17 22:54:47 +09:00
Shin Yamamoto
bf39f07691
Use lazy properties in the surface view
2019-05-16 10:43:41 +09:00
Shin Yamamoto
a9e46f0de6
Merge pull request #204 from SCENEE/fix-scroll-lock-2
...
Avoid calling {lock,unlock}ScrollView() unexpectedly
2019-05-16 10:41:04 +09:00
Shin Yamamoto
05478fa8fa
Avoid calling {lock,unlock}ScrollView() unexpectedly
2019-05-11 15:16:58 +09:00
Shin Yamamoto
d123afc3f7
Fix a crash
2019-05-11 13:40:58 +09:00
Shin Yamamoto
b1b3c15300
Merge pull request #201 from SCENEE/fix-scroll-lock
...
Fix scroll lock
2019-05-11 12:51:53 +09:00
Shin Yamamoto
49bae50739
Merge pull request #203 from SCENEE/patch-pr194
...
Improve surface container API
2019-05-11 12:49:48 +09:00
Shin Yamamoto
9b5459af8e
Fix the content height changed by a container inset
2019-05-11 12:11:04 +09:00
Shin Yamamoto
96d2ea57f5
Clean up prop naming
2019-05-11 11:53:05 +09:00
Shin Yamamoto
b78c5f4ece
Decouple between grabberTopPadding and containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
341522ccaa
Fix grabberhandle corner
2019-05-11 11:02:06 +09:00
Shin Yamamoto
833628e42f
Update the content view height by containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
50c1c6fdc9
Fix the dependency on ordering prop updates
2019-05-11 11:02:06 +09:00
Shin Yamamoto
213386e822
Fix the sign of containerTopInset
2019-05-11 11:02:06 +09:00
Shin Yamamoto
17317ed274
Merge pull request #194 from nderkach/master
...
Grabber handle and top offset customizations
2019-05-11 10:58:25 +09:00
Shin Yamamoto
652ae8c967
Remove a condition to prevent animation cancel
...
Because I can't confirm any effect to fix that selecting a table view cell
sometimes isn't working after flicking to half from full.
2019-05-04 16:15:10 +09:00