Re: Trying to hide a NSProgressIndicator upon finishing of table rendering
Re: Trying to hide a NSProgressIndicator upon finishing of table rendering
- Subject: Re: Trying to hide a NSProgressIndicator upon finishing of table rendering
- From: Ken Thomases <email@hidden>
- Date: Sun, 15 Mar 2015 20:30:09 -0500
On Mar 15, 2015, at 7:58 PM, Patrick J. Collins <email@hidden> wrote:
> And guess what? result is always false... Which makes me wonder why in their
> documentation do they suggest that result == nil check? But, I am confused why
> it's recreating views from scratch anytime the table content changes?
Is kFrameDataTableViewIdentifier also the column identifier?
> That's certainly going to most likely be the performance lag I am seeing.
Don't guess at the reason for the performance problem. Measure (with Instruments).
> But that's what my original question was regarding, if say that lag was not
> nothing that could be removed, how could I make my progress bar hide not when
> the table content updates, but when the table has completed it's updating
> (hence the delay is over), because right now I get the spinner, it disappears,
> but there is roughly a 0.75 second pause before the table data changes
You're attempting to solve the wrong problem. Solve the delay, not figuring out when the delay is over.
Regards,
Ken
_______________________________________________
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