• 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: A question of memory management style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question of memory management style


  • Subject: Re: A question of memory management style
  • From: John Brownie <email@hidden>
  • Date: Tue, 19 Jul 2011 09:12:59 +0300

Thanks for the suggestions. I decided to go with having the handler object retain itself and release itself when the interaction is completed. That avoids having to have more instance variables in the document object to track handlers and release them when done.

Also, thanks for the pointers to references and reminders about method names. Having come from Carbon, I do get myself confused about the different naming convention between Cocoa and Core Foundation.

All is working, with the analyzer happy and no apparent crashes or leaks in limited testing so far.

John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics      | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea                     | Papua New Guinea
_______________________________________________

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: 
 >A question of memory management style (From: John Brownie <email@hidden>)
 >Re: A question of memory management style (From: Scott Ribe <email@hidden>)
 >Re: A question of memory management style (From: Ken Thomases <email@hidden>)

  • Prev by Date: Why are these objects still faults?
  • Next by Date: Re: Why are these objects still faults?
  • Previous by thread: Re: A question of memory management style
  • Next by thread: Trimming certain patterns from NSString?
  • Index(es):
    • Date
    • Thread