Re: Leak in "navigation based application" iPhone template
Re: Leak in "navigation based application" iPhone template
- Subject: Re: Leak in "navigation based application" iPhone template
- From: Peter Blazejewicz <email@hidden>
- Date: Fri, 28 Nov 2008 15:05:56 +0100
hi,
@Hamish
that's tools issue (see below)
@Martin
if you have device run instruments against app on device (see docs for
details).
I can find reference in docs but I'm 100% sure that Instruments show
memory leak for NSIndexPath when using device simulator and that is
known issue. Fill bug report on ADC bug reporter and you will get
radar id for original. That was in release notes in previously but I
cannot find it now,
regards,
Peter Blazejewicz
On Nov 28, 2008, at 1:22 PM, Hamish Allan wrote:
Also, you're best off asking questions like this on the Cocoa-dev list
rather than the XCode-users list, because it doesn't really relate to
the XCode tools, except insofar as that you use them to write Cocoa
code.
Best wishes,
Hamish
On Fri, Nov 28, 2008 at 2:28 AM, Martin Cote <email@hidden>
wrote:
Hi,
I'm playing with the iPhone UITableView and I started a project
with the
"navigation based application" template. For testing, I modified the
tableView:numberOfRowsInSection: function to return 2 instead of
0. If I
monitor this application with Instruments, it detects a leak if I
let it run
for a few seconds (without any interaction). The leak is a
NSIndexPath
object.
The tableView:cellForRowAtIndexPath: function seems to be the
culprit, but
I'm simply unable to find the source of the leak. Did anyone
noticed a
similar problem?
Regards,
Martin Cote
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden