Shin Yamamoto
2b05ea8d92
Release 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
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
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
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
2f23520330
Improve ViewTests.test_WarningRetainCycle()
2019-05-25 16:06:56 +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
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
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
Shin Yamamoto
ec0e8cbdaf
Avoid any tap gesture recognition while dragging a panel
2019-05-04 16:03:19 +09:00
Shin Yamamoto
c15d4c9035
Fix the moving animation's interruption
2019-05-04 16:03:19 +09:00
Shin Yamamoto
194a197e83
Fix a scroll lock after moving a panel
2019-05-04 14:46:39 +09:00
Shin Yamamoto
7d5f03bb6e
Release v1.5.1
2019-04-25 16:18:59 +09:00
Nikolay Derkach
60f41e168f
configure grabber handle and top container offset
2019-04-24 14:07:46 +02:00
Shin Yamamoto
680b16aa25
Merge pull request #185 from SCENEE/fix-tap-abort
...
Fix a touch abort on the interaction interrupted
2019-04-24 14:54:20 +09:00
Shin Yamamoto
2394c03dca
Polish a doc comment
2019-04-20 16:00:22 +09:00
Shin Yamamoto
c8f211f2bf
fix typo
2019-04-19 08:56:54 +09:00
Shin Yamamoto
9076ba8933
Prevent an UIScrollViewDelayedTouchesBeganGestureRecognizer failed
...
It causes tableView(_:didSelectRowAt:) not being called on first tap
after an nimation. The change hasn't fixed the problem completely, but
it works better.
2019-04-19 08:46:51 +09:00
Shin Yamamoto
e4808516aa
Merge pull request #190 from SCENEE/fix-surface-mask
...
Fix surface mask
2019-04-17 19:21:56 +09:00
Shin Yamamoto
2b8d29759a
Rename the remaining backgroundView variable
2019-04-16 22:53:06 +09:00
Shin Yamamoto
8e4b56ff17
Fix the doc comment
2019-04-16 07:51:27 +09:00
Shin Yamamoto
835ec0c3a0
Replace 'backgroundView' with 'containerView'
2019-04-15 21:05:16 +09:00
Shin Yamamoto
d2dce0b6f8
Add a doc comment
2019-04-15 21:00:19 +09:00
Shin Yamamoto
e1185fda93
Merge pull request #188 from SCENEE/allow-subclassing
...
Allow FloatingPanelController subclassing
2019-04-11 22:31:37 +09:00
Shin Yamamoto
4b640f4f01
Add updateBorder()
2019-04-11 11:25:11 +09:00
Shin Yamamoto
8743c5efd0
Fix the mask bounds of the surface view
...
- Move `contentView` into `backgroundView` to fix the mask
- Also fix the mask problem on iOS 10-11. See for detail,
https://github.com/SCENEE/FloatingPanel/issues/109 .
2019-04-11 11:21:16 +09:00
Federico Zanetello
7e3d720720
Fix FloatingPanelBehavior.swift typos
2019-04-08 08:26:30 +07:00
Shin Yamamoto
7a512191ab
Fix a touch abort on the interaction interrupted
...
Because touch events seem to be cancelled when an animator is released.
2019-04-06 11:25:38 +09:00
Shin Yamamoto
3a840df79e
Release v1.5.0
2019-04-04 12:08:27 +09:00
Shin Yamamoto
6851e3b072
Support both of Swift 5 and 4.2
...
The default Swift version leaves 4.0. Because it avoids build errors
with Carthage on each Xcode version from the source compatibility
between Swift 4.0, 4.2 and 5.0.
With regard to CocoaPods, the pod spec is going to support
`swift_versions` introduced in CocoaPods v1.7.0. For now, a user needs
to override `SWIFT_VERSION` appropriately in Podfile.
2019-04-04 12:08:27 +09:00
Shin Yamamoto
f683f987d8
Release v1.4.1
2019-04-03 23:14:56 +09:00
Shin Yamamoto
3626621e87
Fix the umbrella header name
2019-04-03 23:14:56 +09:00
Shin Yamamoto
cc2d1eb002
Merge pull request #178 from SCENEE/notify-retain-cycle
...
Notify a retain cycle
2019-04-03 23:13:20 +09:00
Shin Yamamoto
8391686e28
Clean up Logger
...
`.fault` log is removed because the level are intended for capturing
system-level or multi-process errors only in `os_log`.
2019-04-03 21:23:49 +09:00
Shin Yamamoto
04cd357f68
Print retain cycle warnings
2019-04-03 08:21:35 +09:00