Closed danielchong closed 9 years ago
Thanks for this, created a pull request here: https://github.com/omz/AppSales-Mobile/pull/272 - you can do it from right here on the github site, btw: https://help.github.com/articles/creating-a-pull-request/
I was going to add this to my fork of this project (Still has most of the old features working), yet I don't see what it's fixing.
It calls to update the exchange rates with this url http://quote.yahoo.com/d/quotes.csv?s=GBPUSDEUR=X++AEDEUR=X+AUDEUR=X+BHDEUR=X+BNDEUR=X+BRLEUR=X+CADEUR=X+CHFEUR=X+CLPEUR=X+CNYEUR=X+CZKEUR=X+DKKEUR=X+GBPEUR=X+HUFEUR=X+HKDEUR=X+IDREUR=X+ILSEUR=X+INREUR=X+ISKEUR=X+JPYEUR=X+KRWEUR=X+KWDEUR=X+KZTEUR=X+LKREUR=X+MUREUR=X+MXNEUR=X+MYREUR=X+NOKEUR=X+NPREUR=X+NZDEUR=X+OMREUR=X+PKREUR=X+QAREUR=X+RUBEUR=X+SAREUR=X+SEKEUR=X+SGDEUR=X+THBEUR=X+TWDEUR=X+ZAREUR=X&f=nl1
which does in fact return a .csv file containing currencies like "\"GBP to EUR\"" = "1.4001";
Are you sure this is a fix and is even needed?
I have sometimes seen zero's, however it's while the currencies are updating. If you force a currency update then leave it for a minute it should be fine.
This is strange. This url gives me the GBP/EUR format on 1 computer but "GBP to EUR" on another.
That IS strange! When I logged it in the app it showed me "GBP to EUR"
How about adding this line after the csv declaration to cater for both formats:
csv = [csv stringByReplacingOccurrencesOfString:@" to " withString:@"/"];
Good idea. I've pushed the fix to my branch here https://github.com/ddaddy/AppSales-Mobile
For us non-programming guys...is anyone gonna set it up as a downloadable zipped file.
And just so you know, I was using US Dollars and it crashes, but if I look at only the screen with the downloads it up dates fine. It's when I switch it to Dollar that it crashes. What strange is if I don't switch to dollars and click on the column I see where the money was spent and how much (in dollars)
I'm a lousy programmers, but a hell of a beta tester. Lol
Bob Beroza Sent through my iPhone 6
On Mar 10, 2015, at 6:58 AM, Taber Buhl notifications@github.com wrote:
added that to my PR: taberrr@7d36976
— Reply to this email directly or view it on GitHub.
rbtmartin, the patched project is available as a zip download at: https://github.com/taberrr/AppSales-Mobile/tree/patch-1
Thanks guys for all the help. Downloaded the Zip File, loaded it and it worked perfectly. You guys are amazing programmers. Bob
robert beroza . consultant creative advertising & marketing communications 11690 North Peaceful Night Rd. Oro Valley, AZ 85737 Phone: 520-219-3262 • Cell: 516-662-7803 Email: r_martin@mindspring.com
CONFIDENTIALITY NOTE: The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, please immediately reply to the sender that you have received this communication in error and then delete it. Thank you.
On Mar 10, 2015, at 6:28 PM, danielchong wrote:
rbtmartin, the patched project is available as a zip download at: https://github.com/taberrr/AppSales-Mobile/tree/patch-1
— Reply to this email directly or view it on GitHub.
It's due to the new format of the currency data from Yahoo, which the app uses for currency conversion. Previous format was "USD to EUR" while new format is "USD/EUR".
Simply replace CurrencyManager.m with the code below, and you'll be fine. (Sorry... I don't know how to submit a github pull request.)