First off, let me say this: Google’s terms of service do not allow you to use their APIs for any commercial apps. So it is likely that if you use these APIs, they may never see the light of day in the app store, unless you negotiate a commercial deal with Google.
Here is what we will be developing: Let’s assume you are planning a trip from Bethesda, MD to 90210, CA and you plan to drive (Yeah a road warrior!). You can get the driving directions from many places, including Google. What you also want is, what “what is the weather along the route”. Not only that, you want it for the day you plan to drive (so maybe tomorrow, the day after, or the day after the day after…)
I often need this information. I don’t drive cross country, but I do drive and knowing the weather along the route and for the day I want to drive is very useful to me. I wish we had an app for that. Well, let’s not wish, let’s write one.
In the process, you will learn how to:
a) Use TBXML for XML parsing
b) Use Google Weather and Driving directions XML data
c) Use segmented controls
d) Use TableViews and custom cells
e) Write an app that brings all of this together
*** Credits: The fine folks at icodeblog started me off with this article. ***
First the customary screen shots:
First Screen: You enter your from and to and select which day you want the forecast for:

(more…)