Skip to content

Instantly share code, notes, and snippets.

View Dev-Khaled's full-sized avatar

Khaled Khaldi Dev-Khaled

  • Master Team
  • Middle East
View GitHub Profile
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSArray (FilterDuplicates)
- (NSMutableArray *)filterDuplicates:(NSString *)key;
- (NSMutableArray *)filterDuplicates:(NSString *)key sort:(BOOL)sort ascending:(BOOL)ascending;
@end