除去一些常用方法,以下也能实现
[[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(todoSomething) object:nil];
[self performSelector:@selector(todoSomething) withObject:nil afterDelay:0.3f];
除去一些常用方法,以下也能实现
[[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(todoSomething) object:nil];
[self performSelector:@selector(todoSomething) withObject:nil afterDelay:0.3f];