On 5 Apr 2014, at 12:40 am, Keary Suska <cocoa-...@esoteritech.com> wrote:
> I came across a situation of using undo with sets and it seemed like I needed > some extra tests to implement undo properly. Maybe a set isn't the right model? Either an object is a member or it isn't - Undo should maintain that correctly on add/remove, but if you're having to do extra tests, then it sounds like you might want to look as a counted set (NSCountedSet) instead? Note sure what Core Data does to complicate or simplify that... --Graham _______________________________________________ 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