Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delegate rename, animation speed, storyboard friendliness #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rae
Copy link

@rae rae commented Nov 1, 2012

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

…flicts.

Changed minimum view width to 100 (I had thumbnails in the master view that size).
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].
@rae
Copy link
Author

rae commented Dec 19, 2014

Comments from the review on Reviewable.io


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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant