MGSplitViewController icon indicating copy to clipboard operation
MGSplitViewController copied to clipboard

delegate rename, animation speed, storyboard friendliness

Open rae opened this issue 12 years ago • 1 comments

Renamed delegate to splitDelegate to avoid confusion and possible conflicts.

Changed minimum view width to 100. This shouldn't really be hard coded at all though. Added MG_PANESPLITTER_ANIM_DURATION to control the speed of using [UIView animateWithDuration:].

Moved call to [self setup] to viewDidLoad, which makes MGSplitViewController Storyboard-friendly. setSplitPosition now uses [UIView animateWithDuration:] instead of old [UIView beginAnimations .. commitAnimations].

Review on Reviewable

rae avatar Nov 01 '12 14:11 rae

Comments from the review on Reviewable.io


Classes/MGSplitViewController.m, line 876 [r1] (raw file): This is a good idea


rae avatar Dec 19 '14 16:12 rae