• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Removing Observers eats up memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Removing Observers eats up memory (From: Markus Spoettl <email@hidden>)
 >Re: Removing Observers eats up memory (From: Ken Thomases <email@hidden>)
 >Re: Removing Observers eats up memory (From: Markus Spoettl <email@hidden>)
 >Re: Removing Observers eats up memory (From: Ken Thomases <email@hidden>)
 >Re: Removing Observers eats up memory (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Removing Observers eats up memory
  • Next by Date: Re: Obj-C - your thoughts on hiding data members?
  • Previous by thread: Re: Removing Observers eats up memory
  • Next by thread: Re: Removing Observers eats up memory
  • Index(es):
    • Date
    • Thread