coobjc
coobjc copied to clipboard
Promise能否增加基于点(.)语法的链式写法支持?用 [] 来写链式写法步骤多了之后超级别扭啊
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
如果改为 . 语法支持的话,就会不兼容现在的api了
感觉并不需要修改吧,只是在现有的API之上增加语法糖的包装吧
一般oc里面链式调用,需要 then 返回一个block, 而现在返回的是 Promise对象