Created
August 15, 2014 12:37
-
-
Save ashfurrow/fc6d3de4c64a7a9c88e5 to your computer and use it in GitHub Desktop.
Watch for Changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)dontshipthis:(UIView *)view | |
{ | |
[[RACObserve(view, center) skip:1] subscribeNext:^(id x) { | |
NSLog(@"view: %@", view); | |
}]; | |
for (UIView *v in view.subviews) { | |
[self dontshipthis:v]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dontshipthis, if i do? 😄