Shin Yamamoto
3d6c0220e0
Version 2.2.0
2.2.0
2021-01-22 07:45:12 +09:00
Shin Yamamoto
ecbd318186
Add a note for log variable
2021-01-22 07:45:12 +09:00
Shin Yamamoto
34809bd8ea
Show debug logs in console.app
2021-01-22 07:45:12 +09:00
Shin Yamamoto and GitHub
aa5fbe9e94
Move the main ci to github actions ( #437 )
...
Because of the migration from travis-ci.org to travis-ci.com. As a
bonus, ci builds on github actions are much faster.
This repo still needs travis-ci for testing on iOS 10/11/12 simulators
on Xcode11.x. So this doesn't remove .travis.yml
2021-01-22 07:44:30 +09:00
nickcheng and GitHub
9fbb7df15a
Fixed the crash when ownerVC is nil. ( #436 )
...
`ownerVC` should be checked in the completion as well.
2021-01-20 23:10:43 +09:00
Shin Yamamoto
d55f9a0abf
Revise the swizzling prop to make it nonnull
2021-01-15 21:54:21 +09:00
Shin Yamamoto and GitHub
a932f3b782
Stop moving a panel while the tracking table view is editing ( #431 )
...
To fix https://github.com/SCENEE/FloatingPanel/issues/427
2021-01-11 22:46:34 +09:00
Shin Yamamoto and GitHub
9ea95d69a1
Fix an issue where not dragging a panel by priority of Layout.interactionConstraint ( #428 )
...
I applied `.defaultHigh` priority which might be safe to prevent
an ambiguous layout error. But that causes this issue, so I have to
use `.required` priority.
See more detail [#424
issue](https://github.com/SCENEE/FloatingPanel/issues/424 ).
2021-01-11 20:13:04 +09:00
Shin Yamamoto and GitHub
e783b92905
Fix a crash by the move animator ( #423 )
...
* Prevent a possible memory leak at Core.move(from:to:animated:completion:)
* Replace ``self`` with `self`.
* Change `LayoutAdapter.vc` property to an unowned reference
* Prevent a crash at LayoutAdapter.surfaceLocation called in `NumericSpringAnimator.update` closure.
2021-01-09 12:20:53 +09:00
Shin Yamamoto and GitHub
d380fdeb13
Address the grabber area detection in scroll tracking ( #407 )
...
Allows to expand the panel while touching in the grabber area initially.
2021-01-09 11:59:02 +09:00
Fumito Nakazawa and GitHub
987bf79121
Fix swiftformat ( #426 )
2021-01-08 22:20:38 +09:00
be0ebd0fae
Add cornerCurve option to SurfaceAppearance ( #417 )
...
* Add cornerCurve option to SurfaceAppearance
* Add cornerCurve usage in Maps example
Co-authored-by: Shin Yamamoto <shin@scenee.com >
2021-01-05 18:20:58 +09:00
Benjamin Otto and GitHub
a6538b7a2a
Add optional removalInteractionVelocityThreshold value to Behavior ( #425 )
...
Added an optional variable `removalInteractionVelocityThreshold` to `Behavior`, which let’s the user configure the velocity threshold for the default `floatingPanel:shouldRemoveAt:with` implementation.
2021-01-04 23:09:33 +09:00
Shin Yamamoto and GitHub
40194d91c0
Add a description for the backdropAlpha(for:) API ( #416 )
2020-12-24 23:53:42 +09:00
Federico Zanetello and GitHub
c8b2b33de0
fix example typo ( #418 )
2020-12-22 18:22:19 +09:00
Shin Yamamoto and GitHub
7114f545ff
Merge pull request #414 from SCENEE/release-2.1.0
...
Prepare version 2.1.0
2020-12-12 12:43:52 +09:00
Shin Yamamoto
b4423bcaa2
Version 2.1.0
2.1.0
2020-12-07 19:25:47 +09:00
Shin Yamamoto and GitHub
b34fd41650
Fix Maps samlpe ( #411 )
...
* Fix the detail vc layout in Maps sample
* Deactivate search bar when the detail vc shows in Maps sample
2020-12-05 11:36:54 +09:00
Ryan McLeod and GitHub
199a77182b
Work magic numbers out of Adaptive Panel (Custom Layout Guide) example ( #412 )
2020-12-05 11:36:21 +09:00
Shin Yamamoto and GitHub
0a0f00172d
Add FloatingPanelAdaptiveLayoutAnchor ( #390 )
...
* Rename PassThroughView to PassthroughView
* Refactor LayoutAnchor initializer
* Add FloatignPanelAdaptiveLayoutAnchor
* Add samples for FloatingPanelAdaptiveLayoutAnchor
* Revise updateStaticConstraint
2020-12-01 19:33:19 +09:00
Shin Yamamoto and GitHub
25ca9487fb
Open the default behavior class ( #406 )
...
* Allow open access to FloatingPanelDefaultBehavior
* Move the default presenting & dismissing animators
* Add the public initializer of FloatingPanelDefaultBehavior
2020-11-30 21:21:21 +09:00
Shin Yamamoto and GitHub
231ee4c9af
Create FUNDING.yml for GitHub Sponsors
...
According to #400 request.
2020-11-28 10:32:03 +09:00
Ryan McLeod and GitHub
c872218446
Add escape gesture to close modal for VoiceOver users ( #383 )
...
* Allow dismissing of panel with Accessibility escape gesture
2020-11-07 11:29:23 +09:00
Takao Horiguchi and GitHub
8e8c6527d4
update readme url for Transitioning.swift ( #398 )
2020-10-23 19:24:10 +09:00
Shin Yamamoto and GitHub
3b4e237eba
Merge pull request #397 from SCENEE/release-2.0.1
...
Release 2.0.1
2020-10-21 20:41:34 +09:00
Shin Yamamoto
9b1cb68f0a
Version 2.0.1
2.0.1
2020-10-19 19:22:53 +09:00
Shin Yamamoto and GitHub
4ba8acaf08
Ease the default velocity for a panel removal ( #395 )
...
Because the current threshold(10.0) makes it hard to remove a panel.
Resolve #389
2020-10-19 19:20:16 +09:00
Shin Yamamoto and GitHub
02d8d4516c
Reset the moveAnimator prop after a move animation ( #396 )
...
* Reset the moveAnimator prop after a move animation
If `moveAnimator` isn't null, `FloatingPanelPanGestureRecognizer.touchesBegan`
detects `began` state quickly so that it doesn’t allow to work a tap gesture or
tap action in a panel.
Resolve #392
* Add 2 buttons in DebugTableViewController
2020-10-19 19:17:53 +09:00
Federico Zanetello and GitHub
94829d2749
add missing commas ( #387 )
2020-10-07 20:11:04 +09:00
Shin Yamamoto and GitHub
1522a0990f
Merge pull request #372 from SCENEE/v2-dev
...
Release FloatingPanel 2.0.0
2020-10-03 09:01:19 +09:00
Shin Yamamoto
0a613a7339
Version 2.0.0
2.0.0
2020-10-01 08:26:01 +09:00
Shin Yamamoto
b4a518fe3e
Suppress 'brew update' error on travis ci
2020-09-30 21:53:47 +09:00
Shin Yamamoto
538e046368
Change SurfaceView.contentView to an optional type
2020-09-30 20:19:19 +09:00
Shin Yamamoto
bb44d14370
Double lay out the surface view for uistackview's intrinsic behavior
2020-09-30 20:19:19 +09:00
Shin Yamamoto
230ec689d4
Prevent a crash in a device rotation
2020-09-22 15:20:42 +09:00
Shin Yamamoto
c7605a94b9
Fix a content view layout using intrinsic anchor
2020-09-21 15:00:50 +09:00
Shin Yamamoto
864104de3e
Recalculate state constraints in layout activation for intrinsic layout
...
Because sometimes UIView.systemLayoutSizeFitting() returns a different
size between an onscreen and offscreen view which includes UIStackView.
This behavior depends on UIStackView behavior and the lib can not match
the difference.
2020-09-21 15:00:50 +09:00
Shin Yamamoto
a8e1cfa2bc
Fix intrinsic layout
2020-09-21 15:00:50 +09:00
Shin Yamamoto
207dd27113
Fix Samples app
2020-09-21 15:00:50 +09:00
Shin Yamamoto
802b6f9b6b
Ease time out conditions for ControllerTests.test_moveTo_bottomEdge()
2020-09-19 16:06:17 +09:00
Shin Yamamoto
0ff9d5dd9b
ci: reduce the build time
2020-09-19 15:12:47 +09:00
Shin Yamamoto
6e509481bb
Ease time out conditions in ControllerTests.test_moveTo()
2020-09-19 14:00:14 +09:00
Shin Yamamoto
054a21f3f8
ci: support xcode 12 and fix errors
...
- Since April 2020 Xcode 11 is required to submit an app so this drops
Xcode 10.3(Swift 5.0) build.
- Specify `-workspace` for testing
- Travis CI doesn't have Xcode 11.7 environment.
2020-09-19 13:16:09 +09:00
Shin Yamamoto and GitHub
2e3bbaeec2
Merge pull request #386 from SCENEE/release-1.7.6
...
Release 1.7.6
2020-09-19 12:10:10 +09:00
Shin Yamamoto
18e739fc7b
Merge branch 'release-1.7.6' into v2-dev
2020-09-19 11:24:39 +09:00
Shin Yamamoto
ca7596e1ca
Version 1.7.6
v1.7.6
2020-09-19 11:09:30 +09:00
Shin Yamamoto
38103da2eb
Update travis ci config
2020-09-05 14:46:23 +09:00
Shin Yamamoto
0c2275def1
Address test failures on iOS 10 and 11
2020-09-05 14:46:23 +09:00
Shin Yamamoto
a0da1b99c0
Use BackdropView.dismissalTapGestureRecognizer to dismiss panels in Samples
2020-09-05 14:46:23 +09:00
Shin Yamamoto
427814839a
Fix typo
2020-09-05 14:46:23 +09:00