> On Jul 28, 2015, at 19:38 , Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > I suspect that downloadState will never need to be set via KVC**, or from > Obj-C code, in which case there’s a slightly simpler solution than Charles’ > suggestion. You can have 2 properties, one of which is an enum, and other is > an immutable Int that’s observable, whose value is maintained via a simple > didSet accessor on the enum property.
Thanks, Quincey, that's pretty much what I want. My view observes these properties to know when to update. Thanks to Charles, too. -- Rick Mann rm...@latencyzero.com _______________________________________________ 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