Re: Puzzling memory creep
Re: Puzzling memory creep
- Subject: Re: Puzzling memory creep
- From: Quincey Morris <email@hidden>
- Date: Fri, 04 Sep 2015 00:21:03 +0000
Two thoughts about this.
1. Are you sure that ‘updateTime’ is running on the main thread? It needs to be, since you’re updating the UI directly from this code.
2. The code inside ‘updateTime’ is very self-contained, so it seems easy to try a divide-and-conquer strategy. What happens if you remove all the code, so that the method consists of empty braces? What happens if you don’t format anything, but simply set the UILabel fields to a constant string each time?
My guess is that the problem will persist regardless of what the method does, and the problem is elsewhere. But at least it would be useful to rule this method’s code out, if you can.
_______________________________________________
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