objective c - IOS function handler threadsafe -
The code below is called the scrollview scroll each time and if the user scrolls it several times, the code crashes done. How can I ensure that only one code executes a time or thread?
[self.cv addInfiniteScrollingWithActionHandler: ^ {[weakSelf loadNextPage]; }];
Here is an example
- (zero) _start presentation {FooClass * foo = [[Foo Class Alok] init]; Dispatch_queue_t queue = dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); For (int i = 0; i
Comments
Post a Comment