Pulley v2.9.0 Release Notes
Release Date: 2020-11-11 // about 4 years ago-
🚀 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 thecurrentDisplayMode
of thePulleyViewController
is.compact
then the onlysupportedDrawerPositions
for the view controller when in.compact
mode are.open
,.closed
, and.collapsed
. This mode also has new @IBInspectable properties,compactInsets
andcompactWidth
. 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 parameterposition
to set a new drawer position the drawer when a newDrawerContentViewController
is set. See this pull request for the motivation behind this feature.