Guest User

Untitled

a guest
Aug 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Can I use blocks in asynchronous results with restkit?
  2. @interface MyObjectLoaderDelegate : NSObject <RKObjectLoaderDelegate>
  3.  
  4. @property (nonatomic, copy) void (^callback)(RKObjectLoader *loader, NSDictionary *objectDictionary, NSError *error)
  5.  
  6. - (id)initWithCallback:(void (^)(RKObjectLoader*, NSDictionary*, NSError*)aCallaback;
  7.  
  8. @end
Add Comment
Please, Sign In to add comment