I've written an iOS app in which I'm using CGLayer
quite successfully. While researching ways to squeeze a bit more performance out of this app, I came across this blog post: http://iosptl.com/posts/cglayer-no-longer-recommended/ in which the author very broadly states that CGLayer
is to never be used. An individual post alone is not cause for concern, but I've also found people referring to this post as something to abide by.
No real specifics are offered. For instance, the author states that "sometimes it's faster, sometimes it's slower". This makes me wonder if the concern is that, in general, programmers will not use this object correctly.
I suppose this question is for the seasoned Cocoa/Cocoa Touch developers. Is there any merit to this? Is CGLayer
indeed something to avoid and if so, are there specific, measurable reasons as to why?