Skip to content

Instantly share code, notes, and snippets.

@jerryhjones
Created October 9, 2013 03:34
Show Gist options
  • Save jerryhjones/6895805 to your computer and use it in GitHub Desktop.
Save jerryhjones/6895805 to your computer and use it in GitHub Desktop.
SMLBookshelfTransitionAnimator
SMLBookshelfTransitionAnimator *animator = [[SMLBookshelfTransitionAnimator alloc] init];
animator.leftView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"left.jpg"]];
animator.rightView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"right.jpg"]];
animator.dismissing = YES; // Required to automaticaly handle left/right sides
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment