Shin Yamamoto
289ea4c971
Fix a compile error on SampleObjC
2021-08-18 07:29:39 +09:00
Shin Yamamoto
00ce232420
Refactor the samples app ( #459 )
...
* Add UseCaseController
* Add Layouts.swift
* Add PagePanelController
* Append access modifiers into some objects
* Split view controllers into each file
* Organize the project
* Rename currentMenu with currentUseCase
* Rename SampleListVC with MainVC
* Update UseCase enum
* Update DebugTableViewController to test the scroll (un)tracking functions
2021-05-08 13:17:02 +09:00
Shin Yamamoto
1bd2e60200
Enable to add custom panel states ( #438 )
...
* Support over 3 states in LayoutAdapter
* Allow to inherite FloatingPanelState
* Support a custome FloatingPanelState in ObjC
* Replace Menu enum with UseCase enum in Samples.app
* Rename UIExtensions to Extensions
* Add CustomState use case in Samples app
2021-02-15 21:05:12 +09:00
Federico Zanetello
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
Federico Zanetello
c8b2b33de0
fix example typo ( #418 )
2020-12-22 18:22:19 +09:00
Shin Yamamoto
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
199a77182b
Work magic numbers out of Adaptive Panel (Custom Layout Guide) example ( #412 )
2020-12-05 11:36:21 +09:00
Shin Yamamoto
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
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
Shin Yamamoto
207dd27113
Fix Samples app
2020-09-21 15:00:50 +09:00
Shin Yamamoto
18e739fc7b
Merge branch 'release-1.7.6' into v2-dev
2020-09-19 11:24:39 +09:00
Shin Yamamoto
a0da1b99c0
Use BackdropView.dismissalTapGestureRecognizer to dismiss panels in Samples
2020-09-05 14:46:23 +09:00
Shin Yamamoto
007f9af3eb
Enable the removal interaction at any positions upon the conditions ( #335 )
...
If a library consumer allows a panel projectable movement with the
FloatingPanelBehavior object, the panel is able to invoke the removal
interaction when the next moving position projected the momentum is
hidden.
2020-09-03 23:07:33 +09:00
Shin Yamamoto
214942f918
Fix the panel behavior of 'Show Detail Panel' on 'fitToBounds' mode in Samples app
2020-08-29 16:17:02 +09:00
Shin Yamamoto
af53ac1964
Update README
2020-08-29 15:23:41 +09:00
Shin Yamamoto
39feab437d
Fix layouts using backdropAlpaFor(position:) in Samples app
2020-08-29 13:28:15 +09:00
Shin Yamamoto
885493f2e5
Add doc comments
2020-08-21 17:42:02 +09:00
Greg Hazel
28c384aa0d
use 'prominent' blur effect ( #379 )
...
'prominent' blue effect is adaptive to dark mode.
2020-08-10 12:36:47 +09:00
Shin Yamamoto
6f28edc92c
Clean up SampleObjC code
2020-07-11 13:04:13 +09:00
Shin Yamamoto
2b94139435
Fix platform names in available conditions
2020-07-11 13:00:15 +09:00
Shin Yamamoto
8533ecfcdf
Simplify file and object names
2020-07-11 13:00:15 +09:00
Shin Yamamoto
fc1aed9605
Replace 'decelerate' term with 'attract'
2020-07-11 09:48:25 +09:00
Shin Yamamoto
cd06dfdb28
Update the license headers
2020-07-11 09:48:25 +09:00
Shin Yamamoto
b574cf97a0
Update Maps.app
...
* Support iPad panel
* Change the panel's content mode
* Add DetailViewController for left/right panels.
2020-07-11 09:48:25 +09:00
Shin Yamamoto
c2fc35fc41
Update Stocks.app
2020-07-11 09:48:25 +09:00
Shin Yamamoto
1bbb4dcc23
Update Samples.app
...
* Add BottomEdgeInteractionLayout sample
* Support v2
* Use FloatingPanelSurfaceAppearance
* Fix 'Tab Bar > Layout 3' in Samples.app
* Remove interactionBuffer(for:) from Samples.app
2020-07-11 09:48:25 +09:00
Shin Yamamoto
f9a5386dc7
Add SamplesObjC app
...
* Add build job in .travis.yml
2020-07-11 09:48:25 +09:00
Shin Yamamoto
49e8545aec
Rename trackedScrollView to trackingSrollView
2020-07-11 09:48:25 +09:00
Shin Yamamoto
a62c3a23dc
Fix some view controllers in Samples.app for a sheet modal
2020-05-23 09:07:01 +09:00
Shin Yamamoto
e2afb1e22f
Add "Show Panel in Sheet Modal" sample
2020-05-23 08:11:30 +09:00
Shin Yamamoto
5d5f14acd8
fix a build error on Xcode 11.4 ( #337 )
2020-03-30 17:52:00 +09:00
Federico Zanetello
8c24aa3fc9
fix api typo ( #325 )
...
fixes floatingPanel(_ vc: FloatingPanelController, contentOffsetForPinning) name
2020-02-29 13:18:09 +09:00
Shin Yamamoto
fbd83ef500
fix a run script error
2020-02-26 22:53:44 +09:00
Shin Yamamoto
f5d72aa0a5
Add failure requirements for multiple panels ( #322 )
...
* add multi panel sample
2020-02-26 22:47:52 +09:00
Shin Yamamoto
65f67c98f4
Add floatingPanel(_:contentOffsetForPinning:) delegate method ( #314 )
...
* add floatingPanel(_:contentOffsetForPinning:)
* add 'Show NavigationController' sample
* fix the initial content offset in a navigation bar with a large text
The content offset preservation should be applied only when
`FloatingPanelController.contentInsetAdjustmentBehavior` is `.always`.
This is because the library user loses control of the initial offset.
2020-02-24 11:16:10 +09:00
Shin Yamamoto
23f2242c9a
Fix a panel's move-up in dragging it down
...
This issue is that a panel moved up while dragging it
down if content offset of the tracking scroll view in
a content view controller was greater than its top interaction buffer.
Ref. #293
2020-01-18 17:26:38 +09:00
Shin Yamamoto
4fd92a4002
Fix Maps.app's crash on device after the second launch ( #306 )
...
This seems to be Xcode 11's bug of linking frameworks.
2020-01-18 15:05:46 +09:00
Ramesh R C
9c57089b0e
Add FloatingPanelController.nearbyPosition ( #303 )
...
* Added nearbyPosition : always a position of a user's finger.
* debugging nearby position in Maps.app.
* Added test cases move with nearby position.
2020-01-09 13:26:30 +09:00
Shin Yamamoto
f566fc6475
Add a sample of panel including a PageVC content
2019-09-28 23:02:45 +09:00
Shin Yamamoto
ba011e7242
Add 'Show with ContainerMargins' sample
2019-09-28 13:18:44 +09:00
Shin Yamamoto
3a7f39321c
Update allowsRubberBanding() sample
2019-09-28 13:18:44 +09:00
Shin Yamamoto
e75d83e7a4
Merge pull request #270 from SCENEE/release-1.6.6
...
Release 1.6.6
2019-09-28 13:17:37 +09:00
Shin Yamamoto
b61b0b5451
Update framework links of Example apps
...
Try to resolve an issue to need a clean-build of framework as following
this site,
https://developer.apple.com/library/archive/technotes/tn2435/_index.html
2019-09-27 23:47:36 +09:00
Shin Yamamoto
d7f798e9a0
Fix layout of the root table view in Samples
2019-09-27 23:47:36 +09:00
Shin Yamamoto
ae2c83e32b
Modify modal style of Samples.app for iOS 13
2019-09-27 23:47:36 +09:00
Shin Yamamoto
22ef3e7cd9
Merge pull request #253 from SCENEE/release-1.6.5
...
Release 1.6.5
2019-08-31 13:48:32 +09:00
Nikolay Derkach
1dc0a6b76a
Support bottom content inset for container view ( #257 )
...
and also fix height of a content view resized by the inset
Fix #256
2019-08-31 12:49:59 +09:00
Nikolay Derkach
f8b8176988
Support bottom content inset for container view ( #257 )
...
and also fix height of a content view resized by the inset
Fix #256
2019-08-31 12:43:53 +09:00
Shin Yamamoto
916d2ec76a
Add move-to-hidden tests
2019-08-24 15:37:15 +09:00
Shin Yamamoto
58b2df4996
Fix UISearchBar's _searchField access
2019-08-24 09:54:54 +09:00