Category Archives: Tutorials

JFOpenWeatherMapManager Now Available on CocoaPods!

The iOS / Mac OS X , Objective-C wrapper for the Open Weather Map API that I wrote (JFOpenWeatherMapManager) is now available as a Cocoa Pod. pod ‘JFOpenWeatherMapManager’ Cocoapods provide a dependancy manager for 3rd party library code on Apple platforms. Similar to Gems in Ruby. To install Cocoa Pods Install Homebrew (Instructions here) Install RVM Install Ruby Gems (If not installed) Install Cocoapods (sudo gem install cocoapods : at… Read More »

CLGeocoder as an External Function Call

If you don’t know what CLGeocoder does or what Geocoding is, take  a look at this tutorial that I wrote a few years ago as it is a good starting point. A standard call to CLGeocoder looks a bit like this: This basically takes a given location as a CLLocation and take its Latitude and Longitude properties, it will then generate a textual address for the corresponding real world place… Read More »

Objective-C OpenWeatherMap API Wrapper – JFOpenWeatherMapManager for iOS and Mac OSX

JFOpenWeatherMapManager for iOS provides a quick and easy, drop in component to consume and manipulate the Open Weather Map API directly as Objective-C objects, no casting required. Weather data can be retrieved in a couple of lines of code with the help of a Block. OpenWeatherMap provide a free* API for downloading the latest weather data, such as temperature, wind speed etc. The API can be consumed in various forms,… Read More »

AVSpeechSynthesizer – iOS Text to Speech in iOS 7

Apple added lots of new useful API’s in iOS 7, I am going to speak about one quickly today, AVSpeechSynthesizer. In short, this is Text to Speech, a really simple way to have iOS read a piece of text out loud. There are a number of use cases for this, navigation, directions, visual impairments, introductions etc. This framework is very easy to implement, the source code for this example is… Read More »

MKMapView – Adding Pins to Map and Showing Annotations

I am currently in the process of writing a revised version of my iOS application (Location+), the new version is going to be totally rewritten using the new toolset, Location+ was built in the days of release/retain and xib’s instead of storyboards so it was time for a revamp. Firstly, the source code for this tutorial can be found at the following address: An important feature of any mapping application… Read More »