YYCache 中的用法:
static inline dispatch_queue_t YYMemoryCacheGetReleaseQueue() {
return dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0);
}
调用时:
dispatch_queue_t queue = YYMemoryCacheGetReleaseQueue();
YYCache 中的用法:
static inline dispatch_queue_t YYMemoryCacheGetReleaseQueue() {
return dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0);
}
调用时:
dispatch_queue_t queue = YYMemoryCacheGetReleaseQueue();
本文标题:iOS使用内联对象
本文链接:https://www.haomeiwen.com/subject/zqoruttx.html
网友评论