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