Re: Problem Archiving/Un-archiving Custom Objects
Re: Problem Archiving/Un-archiving Custom Objects
- Subject: Re: Problem Archiving/Un-archiving Custom Objects
- From: Graham Cox <email@hidden>
- Date: Fri, 22 Jan 2016 10:47:35 +1100
> On 22 Jan 2016, at 10:04 AM, Quincey Morris <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden