We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_ASAsyncTransactionGroup.m中 CFRunLoopRef runLoop = CFRunLoopGetCurrent(); YYTransaction中CFRunLoopRef runloop = CFRunLoopGetMain(); 只会在主线程中回调,可不可以改成CFRunLoopGetCurrent()?
The text was updated successfully, but these errors were encountered:
作者提供YYTransaction应该是主要想让你提交一些任务到主线程时,不影响layer的数据commit,所以优先级设置在CATransaction后,这样才能尽可能少影响到主线程,如果你数据提交去非子线程,那么就不这样YYTransaction了。
Sorry, something went wrong.
No branches or pull requests
_ASAsyncTransactionGroup.m中
CFRunLoopRef runLoop = CFRunLoopGetCurrent();
YYTransaction中CFRunLoopRef runloop = CFRunLoopGetMain();
只会在主线程中回调,可不可以改成CFRunLoopGetCurrent()?
The text was updated successfully, but these errors were encountered: