Closed DaidoujiChen closed 9 years ago
喔對了, 另外我有在想, 是不是該所有的 function
都加上 dwu_
前綴? 目前是有些有, 有些沒有, 這個我沒有幫你決定, 由你來決定要不要加.
Thanks a lot. I'll add the dwu_
prefix to all C functions. Though it's purely for aesthetic reasons, since every function is guarded by the static specifier and is not visible outside the translation unit.
:+1:
Hello @diwu,
這次的改動比之前的有大一些, 主要是有些散落在外的
function
, 應該是可以被歸併到CALayer
的category
裡面, 並在前面都加上dwu_
前綴.寫了一些簡單的
#pragma mark
分別源碼的功能性.剩下一些地方就比較小, 像是
to
少一次轉換, 然後
to
直接當
UIView
取出來, 則不用再作轉換to
等等之類的小地方. 感謝.