@arekholko
Not necessarily true! Enable color offscreen in CA instrument to verify: no tint is free masking, green tint is very cheap masking, only yellow tint is an “expensive” case. A single CALayer without sublayers and just contents or just backgroundColor set can be masked for free!
@johnsundell
The nice thing is it also helps developers who use Objective-C as the typedefs for NSStrings are always better than plain NSStrings. Everyone benefits from this change!
@steipete
The only caveat with +flush is that it if you’re in any +begin/+commit “block” the actual commit to the server (and thus changes on screen) will happen after the +commit is called
@uliwitness
If you’re doing -drawRect: style drawing then you’ll be limited by device’s texture sizes, or process’s memory limits. If it’s e.g. just a backgroundColor set, then there is no (reasonable) limit as we just emit a colored quad.
@thomasaull
It’s unminified JS so they are easily accessible in the website source itself, however, there are no comments and the quality is subpar though, since it’s all a write-once code
@TimOliverAU
If you wanna chat about rounded corners some more with specific details of when it’s free and what to avoid then I’ll also be there on the Friday morning labs!
@steipete
@avaidyam
If it reproduces very easily in a shipping app then there’s no need for a sample app. In general, the sooner you file a radar the better!