reduced shadow alpha
…forms the block on separate thread. Replace with a mutable array of copied blocks.
when disabled (default), the menu can be revealed by dragging any part of the content view when enabled - menu can only be revealed by dragging from the left edge of the screen. This can be useful if users still want to keep most part of the content view for other gestures. - use a PaperFold branch that has optional left-edge dragging
…that it does not compete with other scroll view when it is in default state.
… pass down the parameters it gotten.
…d unfolding from the right fold. (contributed by Łukasz Przytuła honcheng/PaperFold-for-iOS@2d1ceae)
1. Use weak semantics for subviews. (Inline with generated IB subviews properties semantics) 2. Defers setting up of subviews to `viewDidLoad`. (This helps in making it more IB friendly as IB won't be able to call `initWithMenuWidth:numberOfFolds:`, but if we exposes their properties, we can use user defined runtime attributes to set these value in IB) 3. Introduces `NSNotFound` for `selectedIndex`. (When no view controller is selected, we describe this state as NSNotFound) 4. Rewrote `selectIndex` and `selectedViewController`, making them observable by KVO. (Try to maintains only `selectedIndex` and make `selectedViewController` derives it value from `selectedIndex`) 5. Updates DemoMenuController. (Same as 2, defer setting up of subviews in `viewDidLoad`. We actually have to manually invoke `reloadMenu`) Cheers! Signed-off-by: Stan Chang Khin Boon <firstname.lastname@example.org>
…ew screenshot offset problem
- fold menu table view automatically when an item is selected - added a delegate method to ask if menu table view should be collapsed when an item is selected - added a method to fold/unfold menu table view with/without animation - removed redundant view controllers in demo