Permalink
Browse files

Updated license and ReadMe with JSONKit and SVPlacemark

  • Loading branch information...
1 parent 8e8ff1d commit a5d783381e34b9fb21a1f041b68cdcbe8ff40091 @samvermette samvermette committed May 1, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 LICENSE.txt
  2. +3 −3 README.textile
View
@@ -22,5 +22,5 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
A different license may apply to other software included in this package,
-including Jonathan Wight's TouchJSON class. Please consult their
+including John Engelhart's JSONKit class. Please consult their
respective headers for the terms of their individual licenses.
View
@@ -1,6 +1,6 @@
h1. SVGeocoder
-SVGeocoder fills the lack of a forward geocoding class on iOS, and is an improved alternative to Apple's unreliable MKReverseGeocoder. It uses "TouchJSON":https://github.com/TouchCode/TouchJSON as well as the "Google Geocoding API":http://code.google.com/apis/maps/documentation/geocoding/ as its data provider so make sure you read their "Terms of Service":http://code.google.com/apis/maps/terms.html#section_10_12 before using SVGeocoder.
+SVGeocoder fills the lack of a forward geocoding class on iOS, and is an improved alternative to Apple's unreliable MKReverseGeocoder. It uses "JSONKit":https://github.com/johnezang/JSONKit as well as the "Google Geocoding API":http://code.google.com/apis/maps/documentation/geocoding/ as its data provider so make sure you read their "Terms of Service":http://code.google.com/apis/maps/terms.html#section_10_12 before using SVGeocoder.
h2. Installation
@@ -27,10 +27,10 @@ SVGeocoder *rGeocoderRequest = [[SVGeocoder alloc] initWithCoordinate:coordinate
h2. Adopting the SVGeocoderDelegate protocol
-On success, SVGeocoder will return an "MKPlacemark":http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKPlacemark_Class/Reference/Reference.html object:
+On success, SVGeocoder will return an SVPlacemark object (which is a "MKPlacemark":http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKPlacemark_Class/Reference/Reference.html subclass with a @coordinate@ property — useful for forward geocoding):
<pre>
-- (void)geocoder:(SVGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark;
+- (void)geocoder:(SVGeocoder *)geocoder didFindPlacemark:(SVPlacemark *)placemark;
</pre>
SVGeocoder will return an error if Google didn't return any placemark of if there is no connectivity:

0 comments on commit a5d7833

Please sign in to comment.