• 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: NSDatePicker leaking in graphical mode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDatePicker leaking in graphical mode?


  • Subject: Re: NSDatePicker leaking in graphical mode?
  • From: Oliver Quas <email@hidden>
  • Date: Sun, 16 Jul 2006 19:39:04 +0200

Hi Matt,

i used "leaks" from the CLI. It displayed a lot of NSCFCalendarDate leaks. And the number increased, when manipulating the view containing the NSDatePicker.

Also i think, the reason why there are leaks is not the invocation of [myDatePicker setDateValue:] - it's actually [myDatePicker setCalendar:[NSCalendar currentCalendar]]. I haven't tested if setDateValue: causes any trouble.

best regards,


Oliver


Leaks what, and what's your evidence that it's a leak? (Remember, a lot of
harmless caching goes on in Cocoa.) Can you provide instructions for easily
reproducing the phenomenon? I created an example in which my code sets
myDatePicker to [NSDate date], where myDatePicker is an ivar to which an
NSDatePicker in graphical mode is bound, and there were no leaks as measured
using ObjectAlloc. m.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSDatePicker leaking in graphical mode?
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: NSDatePicker leaking in graphical mode? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Key Value coding with Slider vs TextField
  • Next by Date: NSTableView clickedRow != array Position
  • Previous by thread: Re: NSDatePicker leaking in graphical mode?
  • Next by thread: Re: NSDatePicker leaking in graphical mode?
  • Index(es):
    • Date
    • Thread