Skip to content

Commit

Permalink
DrawerKit 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andersio committed Apr 12, 2018
1 parent b563734 commit a641f1b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# DrawerKit

## v. 0.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:
```swift
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)

## v. 0.5.0

- DrawerKit now supports `overCurrentContext` and `overFullScreen` modal presentations over the drawer. (#56)
Expand Down
2 changes: 1 addition & 1 deletion DrawerKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "DrawerKit"
s.version = "0.5.0"
s.version = "0.6.0"
s.summary = "An implementation of an interactive and animated view, similar to what you see in Apple Maps"

s.description = <<-DESC
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ Please do play with the demo app and try different configuration options because
</table>
</p>

## What's new in version 0.6.0?

## v. 0.6.0

- DrawerKit now supports pull-to-dismiss driven by a `UIScrollView` inside the drawer content.

You may specify the `UIScrollView` to DrawerKit through its presentation controller:
```swift
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.

## What's new in version 0.5.0?

- DrawerKit now supports `overCurrentContext` and `overFullScreen` modal presentations over the drawer.
Expand Down

0 comments on commit a641f1b

Please sign in to comment.