Skip to content

Instantly share code, notes, and snippets.

View AmitaiB's full-sized avatar

Amitai Blickstein AmitaiB

View GitHub Profile
-(void)geocodeMe {
CLGeocoder *geocoder = [CLGeocoder new];
[geocoder geocodeAddressString:@"" completionHandler:^(NSArray *placemarks, NSError *error) {
/**
* deprecated sample error message
*/
if (error)
{
// [self.latitudeTextField setText:@"Not found"];
// [self.longitudeTextField setText:@"Not found"];
@AmitaiB
AmitaiB / .gitignore
Last active August 29, 2015 14:25 — forked from octocat/.gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #