• 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: Leaks in NSDateComponenets object.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leaks in NSDateComponenets object.


  • Subject: Re: Leaks in NSDateComponenets object.
  • From: Agha Khan <email@hidden>
  • Date: Wed, 26 Aug 2009 17:52:51 -0700

Dear Erg Cosultant:
Are you suggesting I should write my own DateComponenets?
If your answer is yes then it makes some sense.

Best regards
Agha

On Aug 26, 2009, at 5:37 PM, Erg Consultant wrote:

There is no guarantee autorreleased objects will be free immediately - they may be freed at some later time. Hence they may show up as leaks when they are in fact not.

I am not a fan of autorelased objects except in very rare circumstances where it actually makes the code easier.

Other than that, I alloc/release all my objects manually so I know EXACTLY when they are going away.

From: Agha Khan <email@hidden>
To: email@hidden
Sent: Wednesday, August 26, 2009 5:06:46 PM
Subject: Leaks in NSDateComponenets object.

Hi:
I have leaks in my application, and while I was googling I found
http://stackoverflow.com/questions/674724/using-instruments-leaks-object-alloc-are-autoreleased-objects-counted-as-leaks
where I have the same issue.

Is there work around or we just have to wait until it is fixed if it is a known bug.

Thanks
Agha
_______________________________________________

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



_______________________________________________

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: 
 >Leaks in NSDateComponenets object. (From: Agha Khan <email@hidden>)

  • Prev by Date: Re: NSOperation: Selector being called before process finished
  • Next by Date: Re: Normalize an NSAttributedString
  • Previous by thread: Leaks in NSDateComponenets object.
  • Next by thread: Does touch input require rotaion also?
  • Index(es):
    • Date
    • Thread