Re: NSDatePicker leaking in graphical mode?
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