- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 iOS 先后执行一组动画源代码
今天看到一个能顺序执行一组Animation的第三方代码,挺简单的,分享粗来.h 文件@interface BRYSerialAnimationQueue : NSObject- (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewAnimationOptions)
2016-04-20 15:53:21 1159
原创 iOS dispatch_semaphore_t
在GCD中有三个函数是semaphore的操作,分别是:创建一个semaphoredispatch_semaphore_create(int)发送一个信号dispatch_semaphore_signal(dispatch_semaphore)等待信号dispatch_semaphore_wait(dispatch_semaphore, int)注: (1)wait 将信号量 -1
2016-04-20 15:38:06 782
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人