FEMExcludableCollection.h 666 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // Created by zen on 19/06/14.
  3. // Copyright (c) 2014 Yalantis. All rights reserved.
  4. //
  5. #import <Foundation/Foundation.h>
  6. @protocol FEMExcludableCollection <NSObject>
  7. @required
  8. - (id)collectionByExcludingObjects:(id)objects;
  9. @end
  10. @interface NSArray (FEMExcludableCollection) <FEMExcludableCollection>
  11. - (NSArray *)collectionByExcludingObjects:(NSArray *)objects;
  12. @end
  13. @interface NSSet (FEMExcludableCollection) <FEMExcludableCollection>
  14. - (NSSet *)collectionByExcludingObjects:(NSSet *)objects;
  15. @end
  16. @interface NSOrderedSet (FEMExcludableCollection) <FEMExcludableCollection>
  17. - (NSOrderedSet *)collectionByExcludingObjects:(NSOrderedSet *)objects;
  18. @end