Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 1    Views: 63

NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
02/13/14 12:06 PM (11 years ago)

News Digest plugin mod (display page item 1, while continuing to load remaining items)

Anyone who has this plugin have any idea how to modify newsDigest.m to load only the first 1 or 2 page items and then display the first page screen prior to loading the remainder of the pages? (This will avoid long delay which user may think is a crash.) You won't see this issue once the data is cached. But you will the first time into the screen. (can refresh app during debug to see.) Five page items takes a little under five seconds to load prior to displaying page 1 screen because all five image headers are being loaded from URLs. Note: Going to see if I can reduce image size further, (already pretty small 30-40k) but hard to get much smaller and work well with the top as designed. Also need to keep the images loading from URL (as opposed to included in app) as content will constantly change. -------- Maybe part of the issue is that the [self showProgress]; does not display ?? -------- Running on BT Hosted iPhone5 iOS7
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/13/14 09:53 PM (11 years ago)
Look at the log, see if the loading order is sequential or parallel. You might then know where to dig into the code for self-tweaking.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.