On Jun 17, 2014, at 15:21 , Trygve Inda <cocoa...@xericdesign.com> wrote:

> Thoughts on the pros and cons of both methods?

I strongly agree with Lee Ann that the custom class is a better approach. It 
almost always happens that you (eventually) want to associate behavior with the 
properties. There can also be issues trying to use bindings and KVO on values 
stored in a dictionary, when the relationship between the values and the UI 
gets more complex. I always find myself rewriting quickie dictionaries as 
classes, and swearing not to take the shortcut next time.

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to