iOS:Remove unused method
This commit is contained in:
parent
71e1863249
commit
f0f660f709
@ -21,8 +21,6 @@
|
||||
|
||||
|
||||
@interface NSObject (Doric)
|
||||
- (id)apply:(id (NS_NOESCAPE ^)(id it))block;
|
||||
|
||||
- (instancetype)also:(void (NS_NOESCAPE ^)(id it))block;
|
||||
|
||||
- (void)let:(void (NS_NOESCAPE ^)(id it))block;
|
||||
@ -44,4 +42,4 @@
|
||||
- (NSArray *)flatMap:(NSArray *(NS_NOESCAPE ^)(ObjectType obj))block;
|
||||
|
||||
- (NSArray <ObjectType> *)filter:(BOOL (NS_NOESCAPE ^)(ObjectType obj))block;
|
||||
@end
|
||||
@end
|
||||
|
@ -20,10 +20,6 @@
|
||||
#import "DoricExtensions.h"
|
||||
|
||||
@implementation NSObject (Doric)
|
||||
- (id)apply:(id (^)(NS_NOESCAPE id it))block {
|
||||
return block(self);
|
||||
}
|
||||
|
||||
- (instancetype)also:(void (NS_NOESCAPE ^)(id it))block {
|
||||
block(self);
|
||||
return self;
|
||||
|
Reference in New Issue
Block a user