monospacecollective/MSNavigationPaneViewController — pull request #17 by giffnyc (2013-03-25 18:48:12+00:00)
Title: Pull request - optional willUpdateToPaneState: method added to delegate protocol

Hi, Eric:

Thanks for the fix you pushed recently. I also added this optional method to the delegate protocol, found it useful for my app in making sure that the data source that feeds my side menu was up to date. Feel free to incorporate or not as you see fit.

Thanks!

Added optional delegate method to MSNavigationPaneViewControllerDelegate protocol:

- (void)navigationPaneViewController:(MSNavigationPaneViewController *)navigationPaneViewController willUpdateToPaneState:(MSNavigationPaneState)state;

Notifies the delegate that the user has asked for a pane state change. Passes the MSNavigationPaneState that has been requested.