ReactiveCocoa has a macro to prevent @weakify and @strongify from saving. From my understanding of @weakify do something like what I usually do by creating an __weak link for use in a block, but what about @strongify ?
Why do I need to make him strong again in the block?
Here is an example using the example:
@weakify(self); [RACObserve(self, username) subscribeNext:^(NSString *username) { @strongify(self); [self validateUsername]; }];
source share