diff --git a/doric-iOS/Pod/Classes/Util/DoricExtensions.h b/doric-iOS/Pod/Classes/Util/DoricExtensions.h index 02de5428..ce3998a8 100644 --- a/doric-iOS/Pod/Classes/Util/DoricExtensions.h +++ b/doric-iOS/Pod/Classes/Util/DoricExtensions.h @@ -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 *)filter:(BOOL (NS_NOESCAPE ^)(ObjectType obj))block; -@end \ No newline at end of file +@end diff --git a/doric-iOS/Pod/Classes/Util/DoricExtensions.m b/doric-iOS/Pod/Classes/Util/DoricExtensions.m index 1bd44f89..2feae596 100644 --- a/doric-iOS/Pod/Classes/Util/DoricExtensions.m +++ b/doric-iOS/Pod/Classes/Util/DoricExtensions.m @@ -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;