Remove rs_performSelectorCoalesced, since it’s been replaced by the CoalescingQueue.

This commit is contained in:
Brent Simmons 2018-02-17 15:18:42 -08:00
parent d9cba50c89
commit 4e7fc8efcb
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -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) {