From 4e7fc8efcbf6dc80a56ccd74ce8b03ef2e713b11 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 17 Feb 2018 15:18:42 -0800 Subject: [PATCH] =?UTF-8?q?Remove=20rs=5FperformSelectorCoalesced,=20since?= =?UTF-8?q?=20it=E2=80=99s=20been=20replaced=20by=20the=20CoalescingQueue.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/RSCore/RSCore/NSObject+RSCore.h | 5 ----- Frameworks/RSCore/RSCore/NSObject+RSCore.m | 7 ------- 2 files changed, 12 deletions(-) diff --git a/Frameworks/RSCore/RSCore/NSObject+RSCore.h b/Frameworks/RSCore/RSCore/NSObject+RSCore.h index afbe78c73..460560379 100755 --- a/Frameworks/RSCore/RSCore/NSObject+RSCore.h +++ b/Frameworks/RSCore/RSCore/NSObject+RSCore.h @@ -19,11 +19,6 @@ NS_ASSUME_NONNULL_BEGIN @interface NSObject (RSCore) -/*Cancels any previous and does a new -performSelector:withObject:afterDelay:. Experimental.*/ - -- (void)rs_performSelectorCoalesced:(SEL)selector withObject:(id _Nullable)obj afterDelay:(NSTimeInterval)delay - NS_SWIFT_NAME(performSelectorCoalesced(_:with:delay:)); - - (void)rs_takeValuesFromObject:(id)object propertyNames:(NSArray *)propertyNames; diff --git a/Frameworks/RSCore/RSCore/NSObject+RSCore.m b/Frameworks/RSCore/RSCore/NSObject+RSCore.m index 13156448c..3dd0ee409 100755 --- a/Frameworks/RSCore/RSCore/NSObject+RSCore.m +++ b/Frameworks/RSCore/RSCore/NSObject+RSCore.m @@ -50,13 +50,6 @@ BOOL RSEqualValues(id obj1, id obj2) { @implementation NSObject (RSCore) -- (void)rs_performSelectorCoalesced:(SEL)selector withObject:(id)obj afterDelay:(NSTimeInterval)delay { - - [NSObject cancelPreviousPerformRequestsWithTarget:self selector:selector object:obj]; - [self performSelector:selector withObject:obj afterDelay:delay]; -} - - - (void)rs_takeValuesFromObject:(id)object propertyNames:(NSArray *)propertyNames { for (NSString *onePropertyName in propertyNames) {