zsisme
ios核心动画高级技巧

Updated 3 years ago

liona liona (@lionaliona) started discussion #12

4 years ago · 2 comments

Open

    如果你不需要寄宿图,那就不要创建这个方法了,这会造成CPU资源和内存的浪费,这也是为什么苹果建议:如果没有自定义绘制的任务就不要在子类中写一个空的-drawRect:方法。

Custom Drawing (Edit this file)

没有自定义绘制的任务就不要在子类中写一个空的-drawRect:方法

No description provided.
yupliang @yupliang commented 3 years ago

mark

Myron Lee @myronlee commented 2 years ago

soga


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


3 participants