Skip to content

Commit 9d8079f

Browse files
committed
Updated readme and changelog
1 parent 6748a8b commit 9d8079f

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
#MMDrawerController Changelog
22

3+
##[0.4.0](https://github.com/mutualmobile/MMDrawerController/issues?milestone=8&page=1&state=closed) (Monday, August 19, 2013)
4+
###New
5+
* **State Restoration Support** - `MMDrawerController` now supports state restoration, and will save the state of the open side as well. Consult the MMDrawerController header file for more information. ([#69](https://github.com/mutualmobile/MMDrawerController/pull/69)). (Kevin Harwood, djibouti33)
6+
* **Better Subclass Support** - `MMDrawerController` now contains an additional Subclass header file, to allow subclasses to access protected methods of the framework. Please consult the documentation for additional details on how to properly subclass `MMDrawerController`. ([#37](https://github.com/mutualmobile/MMDrawerController/pull/37)). (Lars Anderson)
7+
* **initWithCoder: Support** - `MMDrawerController` now implements `initWithCoder:`, making it easier to integrate with a storyboard. Looks for an official extension from @TomSwift providing storyboard integration. ([#81](https://github.com/mutualmobile/MMDrawerController/pull/81)). (Tom Swift)
8+
* **Improved parent drawer controller detection** - `mm_drawerController` will now walk up the entire view controller stack looking for the parent, making it easier to access the drawer controller from any child view controller in the hierarchy. ([#70](https://github.com/mutualmobile/MMDrawerController/pull/70)). (messi)
9+
10+
###Fixed
11+
* **FIXED** an issue ([#66](https://github.com/mutualmobile/MMDrawerController/pull/66)) where you would get unbalanced begin/end appearance transitions when using a non-animated `setCenterViewController:...` method. (Kevin Harwood, jsankey)
12+
* **FIXED** an issue ([#63](https://github.com/mutualmobile/MMDrawerController/pull/63)) where the visual state block received invalid transform values. (Kevin Harwood)
13+
* **FIXED** an issue ([#71](https://github.com/mutualmobile/MMDrawerController/pull/71)) where the side drawer could become blank if you called the `closeDrawerAnimated:...` while the drawer was closing. (Kevin Harwood, Bryan Wang)
14+
* **FIXED** an issue ([#80](https://github.com/mutualmobile/MMDrawerController/pull/80)) where the block parameters were not named appropriately. (Kevin Harwood, Joao Nunes)
15+
316
##[0.3.0](https://github.com/mutualmobile/MMDrawerController/issues?milestone=6&page=1&state=closed) (Monday, July 22nd, 2013)
417
###New
518
* Added a block to determine if a gesture should be recognized, giving the implementer a chance to define where a gesture should be recognized within their views. Please consult the [README](https://github.com/mutualmobile/mmdrawercontroller#custom-gesture-recognizer-support) for additional details. ([#25](https://github.com/mutualmobile/MMDrawerController/pull/25)). (Kevin Harwood)
19+
620
###Fixed
721
* **FIXED** an issue ([#56](https://github.com/mutualmobile/MMDrawerController/pull/56)) where the bezel gesture would be detected even if there was no drawer controller on that side. (Kevin Harwood)
822
* **FIXED** an issue ([#50](https://github.com/mutualmobile/MMDrawerController/pull/50)) where a subclass could get stuck in an infinite loop in the `init` method. (Tuan Cao)

MMDrawerController.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Pod::Spec.new do |s|
22
s.name = "MMDrawerController"
3-
s.version = "0.3.0"
3+
s.version = "0.4.0"
44
s.summary = "A lightweight, easy-to-use side drawer navigation controller."
55
s.homepage = "https://github.com/mutualmobile/MMDrawerController"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.author = { "Kevin Harwood" => "[email protected]" }
8-
s.source = { :git => "https://github.com/mutualmobile/MMDrawerController.git", :tag => "0.3.0" }
8+
s.source = { :git => "https://github.com/mutualmobile/MMDrawerController.git", :tag => "0.4.0" }
99
s.platform = :ios, '5.0'
1010
s.requires_arc = true
1111
s.screenshots = [ "http://mutualmobile.github.io/MMDrawerController/ExampleImages/example1.png",

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Official appledoc documentation can be found at [CocoaDocs](http://cocoadocs.org
1616
You can install MMDrawerController in your project by using [CocoaPods](https://github.com/cocoapods/cocoapods):
1717

1818
```Ruby
19-
pod 'MMDrawerController', '~> 0.3.0'
19+
pod 'MMDrawerController', '~> 0.4.0'
2020
```
2121

2222
---
@@ -111,6 +111,9 @@ When a drawer is open, you can control how a user can interact with the center v
111111
###Accessing the Drawer Controller from a Child View Controller
112112
You can use the `UIViewController+MMDrawerController` category in order to query the drawerController directly from child view controllers.
113113
114+
###State Restoration
115+
Beginning with 0.4.0, `MMDrawerController` supports iOS state restoration. In order to opt in to state restoration for `MMDrawerController`, you must set the `restorationIdentifier` of your drawer controller. Instances of your `centerViewController`, `leftDrawerViewController` and `rightDrawerViewController` must also be configured with their own `restorationIdentifier` (and optionally a restorationClass) if you intend for those to be restored as well. If your MMDrawerController had an open drawer when your app was sent to the background, that state will also be restored.
116+
114117
---
115118
##Subclassing
116119
If you plan to subclass `MMDrawerController`, import `MMDrawerController+Subclass.h` into your subclass to access protected methods for `MMDrawerController.` Note that several methods assume and require you to call super, so be sure to follow that convention.

0 commit comments

Comments
 (0)