O'Reilly logo

iPhone Location Aware Apps by Example by Zeeshan Chawdhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building your Weather App: WeatherPackt

Having looked at the Live Weather and the Forecast API, and understanding how to parse the XML response received from the WeatherBug API, let's use our previous example to build our final WeatherPackt application. Once done building the app, we will also submit our app to the Apple iTunes Store!!

For our WeatherPackt app, we will use the iOS 5 reverse geocoder as the primary source of converting the latitude/longitude to city and country name. You can use the GeoNames API as well, but the CLGeocoder class included in iOS 5 helps us obtain the same results easily, in a better-organized format.

Also, keep in mind the response format of the Weather API. Depending upon your country or location, the appropriate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required