From 9d8079f7da3236a34d9c05bbb936a87a2207d601 Mon Sep 17 00:00:00 2001 From: Kevin Harwood Date: Mon, 19 Aug 2013 08:59:05 -0500 Subject: [PATCH] Updated readme and changelog --- CHANGELOG.md | 14 ++++++++++++++ MMDrawerController.podspec | 4 ++-- README.md | 5 ++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87f02467..181f3c6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,22 @@ #MMDrawerController Changelog +##[0.4.0](https://github.com/mutualmobile/MMDrawerController/issues?milestone=8&page=1&state=closed) (Monday, August 19, 2013) +###New +* **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) +* **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) +* **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) +* **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) + +###Fixed +* **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) +* **FIXED** an issue ([#63](https://github.com/mutualmobile/MMDrawerController/pull/63)) where the visual state block received invalid transform values. (Kevin Harwood) +* **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) +* **FIXED** an issue ([#80](https://github.com/mutualmobile/MMDrawerController/pull/80)) where the block parameters were not named appropriately. (Kevin Harwood, Joao Nunes) + ##[0.3.0](https://github.com/mutualmobile/MMDrawerController/issues?milestone=6&page=1&state=closed) (Monday, July 22nd, 2013) ###New * 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) + ###Fixed * **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) * **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) diff --git a/MMDrawerController.podspec b/MMDrawerController.podspec index 57188c8e..d6e2cab3 100644 --- a/MMDrawerController.podspec +++ b/MMDrawerController.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |s| s.name = "MMDrawerController" - s.version = "0.3.0" + s.version = "0.4.0" s.summary = "A lightweight, easy-to-use side drawer navigation controller." s.homepage = "https://github.com/mutualmobile/MMDrawerController" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "Kevin Harwood" => "kevin.harwood@mutualmobile.com" } - s.source = { :git => "https://github.com/mutualmobile/MMDrawerController.git", :tag => "0.3.0" } + s.source = { :git => "https://github.com/mutualmobile/MMDrawerController.git", :tag => "0.4.0" } s.platform = :ios, '5.0' s.requires_arc = true s.screenshots = [ "http://mutualmobile.github.io/MMDrawerController/ExampleImages/example1.png", diff --git a/README.md b/README.md index b321333c..c0376b09 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Official appledoc documentation can be found at [CocoaDocs](http://cocoadocs.org You can install MMDrawerController in your project by using [CocoaPods](https://github.com/cocoapods/cocoapods): ```Ruby -pod 'MMDrawerController', '~> 0.3.0' +pod 'MMDrawerController', '~> 0.4.0' ``` --- @@ -111,6 +111,9 @@ When a drawer is open, you can control how a user can interact with the center v ###Accessing the Drawer Controller from a Child View Controller You can use the `UIViewController+MMDrawerController` category in order to query the drawerController directly from child view controllers. +###State Restoration +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. + --- ##Subclassing 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.