Design advice: NSView vs CALayer for subviews



Hi,

I have a have design dilemma for a new app. Basically, the app will display visual representations of entities in within an NSView and I'm not sure if I should go with NSView or CALayer. The app would look kind of the CoreData view in Xcode when editing a data model, where you can select an entity and drag it around.

While NSView has it's advantages, CALayers has it's own and I'm not sure which would be better to accomplish this.

Does anyone has some advice on this or some sample project that could help?

Thanks!

Luc
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

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/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx

...



Privacy