DrawerKit v0.7.0 Release Notes

Release Date: 2018-10-30 // almost 3 years ago

    ๐Ÿ”ง DrawerKit now supports interactions with the presenting view. By default, the presenting view will receive touch events when the drawer is in the collapsed or partiallyExpanded state. This can be configured via the new passthroughTouchesInStates configuration.

    Drawer corner radius animation can now be disabled.

    DrawerKit now has a new state, dismissed, to differentiate between being collapsed (to a particular non-zero height) and being actually dismissed.

    It's possible to make the drawer visible on screen when in the collapsed state, via the new property heightOfCollapsedDrawer in the DrawerPresentable protocol.

    ๐Ÿ”ง The drawer can now be presented in a particular initial state, via the new initialState configuration.


Previous changes from v0.6.0

    ๐Ÿ‘ DrawerKit now supports pull-to-dismiss driven by a UIScrollView inside the drawer content. (#58)

    You may specify the UIScrollView to DrawerKit through its presentation controller:

    override func viewWillAppear(\_ animated: Bool) { super.viewWillAppear(animated) // Install `tableView` as the pull-to-dismiss participant. drawerPresentationController?.scrollViewForPullToDismiss = tableView }
    

    ๐Ÿ”ง Drawer corners may now be configured in DrawerConfiguration to be always visible below the status bar. (#61)