Releases: 52inc/Pulley
2.9.2
What's Changed
- remove bounce overflow margin substract for panel by @ngerdzhikov in #417
- Fix Xcode 14 compiler warning by @ddaddy in #423
- Delete .swift-version by @SabinaHuseinova in #425
- Fix black horizontal line on top of pulley on Mac Catalyst by @mpfeifer-svg in #430
New Contributors
- @ngerdzhikov made their first contribution in #417
- @ddaddy made their first contribution in #423
- @SabinaHuseinova made their first contribution in #425
- @mpfeifer-svg made their first contribution in #430
Full Changelog: 2.9.1...2.9.2
Bug Fixes and Improvements
New compact display mode and new optional paramater on setDrawerContentViewController
Pulley 2.9.0 has new properties to support a new displayMode. The base functionality should work without any significant changes. The biggest change being the new displayMode of .compact
to replicate Apple Maps Behavior on the iPhone SE size class devices. This is an exact replica of the behavior of the Apple Maps drawer, therefor when the currentDisplayMode
of the PulleyViewController
is .compact
then the only supportedDrawerPositions
for the view controller when in .compact
mode are .open
, .closed
, and .collapsed
. This mode also has new @IBInspectable properties, compactInsets
and compactWidth
. This mode behaves in a very similar way to .panel
mode. See the pull request here for the motivation behind this feature. Also in this release, setDrawerContentViewController(controller: UIViewController, position: PulleyPosition? = nil, animated: Bool = true, completion: PulleyAnimationCompletionBlock?)
has a new optional parameter position
to set a new drawer position the drawer when a new DrawerContentViewController
is set. See this pull request for the motivation behind this feature.
Fixes Issue with Scrollview Dragging in iOS 14
Merge pull request #401 from 52inc/xcode12 Xcode12 Fixes to issue #400
Auto Layout Feedback Loop Fixes
xcode12 Drawer Masking Path Bugfix
• See Issue #390
Xcode 12 and iOS 14 Bug Fixes
Merge pull request #394 from 52inc/xcode12 Xcode12
Minor Enhancements
• Add option for pulley position when mask has been tapped
Xcode 11 and Swift Package Manager Support
2.8.0 Update README.md
Update to Swift 5.0
A very small update to the Pulley Library to support Swift 5.0