mystcolor/JTRevealSidebarDemo — pull request #20 by jyn (2012-09-18 03:21:40+00:00)
Title: Fix hideSidebarView to reposition view correctly

Code initially used (CGRect){CGPointZero, self.view.frame.size} as the point to return the original view to. This assumes that the origin is 0,0 which may not be true if the originating view does not have a navigation controller.

Change transform to offset it by the reverse width amount (for both reveal left and reveal right). This is the correct reverse transform that should be applied to restore the view correctly.