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!!
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 ...