> On 22 Jan 2016, at 10:04 AM, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > In general, like in inits, you will want to assign directly to instance > variables rather than use property setters
Same applies to -initWithCoder: If you call a lot of property setters there, performance is slow. It might not matter, but for big graphs (10,000+ objects) it can be a killer. If any setters have side effects it can be suicidal. —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