Skip to content

Instantly share code, notes, and snippets.

@almostintuitive
Last active August 29, 2015 14:05
Show Gist options
  • Save almostintuitive/5a6bbcc9849ae7fce7b4 to your computer and use it in GitHub Desktop.
Save almostintuitive/5a6bbcc9849ae7fce7b4 to your computer and use it in GitHub Desktop.
ViewController-1.m
- (void)adjustViewBasedOnSwipeProgress:(float)progress {
self.postWebView.center = CGPointMake(self.view.center.x+(self.view.bounds.size.width*progress), self.view.center.y);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment