Re: Removing Observers eats up memory
Re: Removing Observers eats up memory
- Subject: Re: Removing Observers eats up memory
- From: Ken Thomases <email@hidden>
- Date: Mon, 25 Jan 2016 15:35:44 -0600
On Jan 25, 2016, at 3:22 PM, Markus Spoettl <email@hidden> wrote:
>
> Thanks for the suggestion and explanation, I would never have thought of using this.
You're welcome. I'm glad I could help.
> I wonder if there's a downside to implementing this in all my model objects other than adding an additional pointer to their data size.
Not much. I guess there's also a bit of code bloat since the compiler synthesizes (or you implement) accessors for the property. Should be negligible, though.
Regards,
Ken
_______________________________________________
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