On 28-Oct-08, at 10:05 PM, Alex Kac wrote:

That's a great one. So in a way if I'm creating a user inter-actable view, I could do my drawing in the layer, but handle all my user interaction in the view. Does that sounds about right? Again I haven't gotten that deep yet, but am working on a few things that I will be...

Not necessarily.

If you can't get the performance or features you need from views alone (drawing caching or certainly types of animations) use Layer-backed views If you can't accomplish what you need with layer-backed views, consider using layers if you're using layers, you'll always have to do the event handling in the view that hosts the root layer.

Basically, start at the view level, and then determine if you can't do what you want there, then did deeper


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to