Hey, thanks for the article. It came right in time for me -- I'm developing an app that needs to display dozens of small custom-ui elements in a special view, and CA sounds like a good fit.
One obstacle comes to my mind though -- in my ui elements I'll display text, which needs to be selectable (not editable though). In my current implementation I'm using NSCell for drawing this text + NSCell field-editor-alike functionality for providing the selection mechanism. That works perfect.
Not sure how I would do that with CALayer... without having the field editor draw over the layer-backed view etc. which sounds a little bit messy.
by Michael — Oct 12
Hey, thanks for the article. It came right in time for me -- I'm developing an app that needs to display dozens of small custom-ui elements in a special view, and CA sounds like a good fit.
One obstacle comes to my mind though -- in my ui elements I'll display text, which needs to be selectable (not editable though). In my current implementation I'm using NSCell for drawing this text + NSCell field-editor-alike functionality for providing the selection mechanism. That works perfect.
Not sure how I would do that with CALayer... without having the field editor draw over the layer-backed view etc. which sounds a little bit messy.