Download Latest Version 2.9.2 source code.tar.gz (45.5 kB)
Email in envelope

Get an email when there's a new version of Pulley

Home / 2.9.0
Name Modified Size InfoDownloads / Week
Parent folder
New compact display mode and new optional paramater on setDrawerContentViewController.tar.gz 2020-11-11 45.3 kB
New compact display mode and new optional paramater on setDrawerContentViewController.zip 2020-11-11 58.7 kB
README.md 2020-11-11 1.2 kB
Totals: 3 Items   105.2 kB 0

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.

Source: README.md, updated 2020-11-11