Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //In the interface:
- @property (strong) void(^myBlock)(id obj, NSUInteger idx, BOOL *stop);
- //In the implementation:
- [self setMyBlock:^(id obj, NSUInteger idx, BOOL *stop) {
- [self doSomethingWithObj:obj];
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement