Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 76

BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
06/13/13 02:04 PM (12 years ago)

Few Niggly Things

Hi all. I'd like to see if our great community here has suggestions for the following things I'd like to fix in my app (in next version after they finally approve version 1.0) :-) - speed up RSS feed fetching...I'm finding it's taking too long. I'd like to give full credit to our plugin creator for RD Simple. I'm not sure if the problem lays in using Yahoo Pipes. Is anyone else using Yahoo Pipes? Great way to consolidate/filter/clean feeds if you've never used it. And it's free :-) - In-App Purchase. Again, seems slow in my app. Also, product image disappears in landscape mode on iPad. - full width header images for Menu with Image in Landscape mode on iPad. Any and all ideas/suggestions are welcome! Steve
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
06/13/13 02:09 PM (12 years ago)
Speed issues are likely due to the time it's taking you to download the RSS feed. In-App Purchase is slow because it is grabbing information from Apple's servers before loading the screen. This includes product description and pricing. It's easy enough to override those and load it locally. But, the pricing becomes problematic when dealing with multiple currencies. By grabbing it from Apple, you automatically get the correct currency amount. As for the image disappearing, I'd have to take a look at the code. Perhaps theMonster has a solution already for that?
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
06/13/13 02:54 PM (12 years ago)
Thanks Chris! I think theMonster might be a little busy, but will try contacting him again. Cheers
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/13/13 02:58 PM (12 years ago)
IAP will be much quicker once app is approved. Never noticed the landscape thing before... You should be able to change the iPad.xib to resolve that
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/13/13 03:03 PM (12 years ago)
My app 'uk racetrack finder' uses RSS feeds - some is news feeds from other sites and some is my own data, speed seems ok... How does it compare to yours?
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
06/13/13 05:15 PM (12 years ago)
@trouty. Glad the IAP speed is faster after app approval, as I can see people not bothering with it otherwise :-) Also: - I tried changing the iPad .xib (it's all new to me) but for some reason the changes didn't stick. Also, I found in the .xib that the product image size is 200x200 pixels but when I use an image that size via the control panel/JSON, it gets messed up, so I assume the code is changing the size used. What size do you use for the product image? - In terms of RSS feed speed, it's taking over 10 seconds sometimes (3G or WiFi). - I'd also like to change the .xibs to use square image dimensions of 200x200 for the Buy/Restore buttons and use my own images for those buttons. But again, after I tried changing the .xibs, they didn't come out right when the app was run. Do you know of a good video on changing .xibs? :-) Cheers
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/13/13 06:55 PM (12 years ago)
Xib files aren't that bad, but there are the basics you need to know before they'll work for you. David did an excellent 'how to build a plugin' video that's on Youtube... http://www.youtube.com/watch?v=OJrMVTn8z0s Just remember you can always change the shape and size of an object in a xib, but if you 'change' the object, you'll need to re-link any associations it has with the class. Deleting a variable won't delete the link to that variable; you'll have to do that manually. With respect to 'things changing' after I altered them, I found out one important fact: the 'view' I see in the interface builder isn't 'quite' the view that will get put on the app screen, until I measure it for all the tool bars and nav bars and all that. In your Xib file, select your 'main' view, and go to the 'attributes inspector'. This is where you select your screen size (3.5/4 retina, etcetera). Select a 'default' status bar, and a Top Bar of 'Navigation Bar'. Also a Bottom 'Tab' bar, IF your project uses tabs. That will shrink your screen considerably, however this is the 'usable' space on the screen. I found in the past that If I didn't account for the tab/nav/status bars, things would shrink and skew in odd ways when I ran the app. If that is your problem, this is your fix. Hope this helps in some way... Cheers! -- Smug
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
06/13/13 08:04 PM (12 years ago)
Thanks Smug! Will have to watch that video and try your suggestions. Cheers
 

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.