• 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: NSLog preventing a crash?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog preventing a crash?


  • Subject: Re: NSLog preventing a crash?
  • From: "Shawn Erickson" <email@hidden>
  • Date: Tue, 24 Jul 2007 09:22:41 -0700

On 7/24/07, Rob Chahin <email@hidden> wrote:
For the record, the crash is no longer an issue now that I send -
copy. It's entirely possible that I'm sending extra retains to
objects, as I tend to write functionality and then worry about retain
counts. I have memory leaks all over the place at the moment.

Talking from a long time working with the Cocoa framework... I strongly recommend you get the memory management "contract" in your head and apply as you code... it shouldn't be some thing you consider later.

Also NEVER worry about retain counts... worry about the memory
contract and honoring it.

-Shawn
_______________________________________________

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


  • Follow-Ups:
    • Re: NSLog preventing a crash?
      • From: John Stiles <email@hidden>
References: 
 >NSLog preventing a crash? (From: Rob Chahin <email@hidden>)
 >Re: NSLog preventing a crash? (From: Rob Chahin <email@hidden>)
 >Re: NSLog preventing a crash? (From: Shawn Erickson <email@hidden>)
 >Re: NSLog preventing a crash? (From: Rob Chahin <email@hidden>)
 >Re: NSLog preventing a crash? (From: Andrew Merenbach <email@hidden>)
 >Re: NSLog preventing a crash? (From: Rob Chahin <email@hidden>)

  • Prev by Date: Re: Multiple sliders updating the same text field
  • Next by Date: Re: Multiple sliders updating the same text field
  • Previous by thread: Re: NSLog preventing a crash?
  • Next by thread: Re: NSLog preventing a crash?
  • Index(es):
    • Date
    • Thread