The code contained in this github repository is designed to be read in conjunction with the following blog post: http://moduscreate.com/building-a-custom-phonegap-plugin-for-ios/