Advertisement
Guest User

Untitled

a guest
Aug 26th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #import <Foundation/Foundation.h>
  2.  
  3. typedef BOOL(^NSArrayDiffMatch)(id _Nonnull original, id _Nonnull comparedTo);
  4.  
  5. @interface NSArrayDiff : NSObject
  6.  
  7. + (instancetype _Nonnull)newWithOriginal:(NSArray * _Nonnull)original
  8. diffedAgainst:(NSArray * _Nonnull)compareTo
  9. match:(NSArrayDiffMatch _Nonnull)match;
  10.  
  11. @property (nonatomic, strong, readonly) NSIndexSet * _Nonnull removedIndexes;
  12. @property (nonatomic, strong, readonly) NSArray * _Nonnull removedObjects;
  13.  
  14. @property (nonatomic, strong, readonly) NSIndexSet * _Nonnull addedIndexes;
  15. @property (nonatomic, strong, readonly) NSArray * _Nonnull addedObjects;
  16.  
  17. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement