alibaba / coobjc

coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
https://github.com/alibaba/coobjc
Apache License 2.0
4.03k stars 525 forks source link

COCoroutine 源码 有一处不太理解 #83

Closed DeanGuo closed 5 years ago

DeanGuo commented 5 years ago

COCoroutine *coObj = [[self alloc] initWithBlock:block onQueue:queue]; coObj.queue = queue; 实例化的时候 已经给 .queue 赋值了 为什么还要再单独赋值一次呢 ?

NianJi commented 5 years ago

你看的什么时候的代码呢?我搜了下已经没有这个代码啊

DeanGuo commented 5 years ago

三月份的代码,现在目录结构都变了当时path是core,现在是co,我看了一下最新的代码确实没有这个逻辑了。