Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 83

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
03/01/14 06:55 AM (10 years ago)

BTA Design Menu

Hi, In simple table view, this will not load images from Xcode project. Has anyone else encountered this? It will load from a URL but you are then unable to have the @2x.png doing its stuff. A fix is most important. Many thanks.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/01/14 10:35 AM (10 years ago)
Also do not appear to be able to transpose the row - possibliy as it is being loaded from a url. Regards
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/01/14 03:01 PM (10 years ago)
Check that plugin to see if it uses "doesFileExistInBundle" for the images. It will definitely have "doesFileExistInCache". I was doing similar research this morning for local data files versus dataURL files. I had noticed that it is already well implemented for the local IMAGES that are within the Xcode project (also known as Bundle). It was not done at all for local DATA FILES (localFileName). I fixed it by revamping the loadData method that is reused across many of the plugins. My fix only went into my custom Boxes plugin (not yet released). Rather than bloating the main Config file, it makes sense to split out the heavy screens into their own data file. The CPU and the RAM will give their hearty thanks to you. :-) I will be asking David Book to review it for back fitting into the existing plugins. -- Niraj
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/01/14 03:28 PM (10 years ago)
Hi Alex, A while ago I posted the solution for this in here: https://www.buzztouch.com/forum/thread.php?tid=7DE04A0B13F53867610E9F5 This should fix it. Best Regards, Danny
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/01/14 04:07 PM (10 years ago)
Danny -- has the plugin been updated on the web site? Perhaps Alex should grab the new version?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/01/14 04:31 PM (10 years ago)
Hi Niraj, No you need to manually update this fix. See this: http://www.buzztouch.com/forum/thread.php?tid=4BC204F3C139BBE213548C6 Best Regards, Danny
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/01/14 04:49 PM (10 years ago)
Ah, I see Danny. You've retired! :-) Bummer! I've copied the code fix and sent an email to by self for placement into the "BT Fixes" folder. Thanks, -- Niraj
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/01/14 04:52 PM (10 years ago)
Hi Niraj, No I did not retire at all. Just wanted to give something back to Buzztouch and the community. Only downside at the moment is that I can't fix this with the speed I'd like. That's why I posted the solution for a manual fix. Hope I'll find time soon to do the update..... Best Regards, Danny
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
03/02/14 04:08 AM (10 years ago)
Danny, has worked a dream, many thanks and much respect :) Alex
 

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.