Remove rs_performSelectorCoalesced, since it’s been replaced by the CoalescingQueue.
This commit is contained in:
parent
d9cba50c89
commit
4e7fc8efcb
|
@ -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;
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue