Skip to content

Instantly share code, notes, and snippets.

@thelastinuit
Created July 4, 2014 06:34
Show Gist options
  • Save thelastinuit/9e1a0938decba64f1021 to your computer and use it in GitHub Desktop.
Save thelastinuit/9e1a0938decba64f1021 to your computer and use it in GitHub Desktop.
Observe Frame
[RACObserve(self.view, frame) subscribeNext:^(NSNumber *rect) {
NSLog(@"position y: %f", rect.CGRectValue.origin.y);
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment