Skip to content

Instantly share code, notes, and snippets.

@bkoell
bkoell / gist:2220183
Created March 27, 2012 20:59
MKMapView: relocating Google-Image and Copyright-Label
//example relocation implementation
- (void) relocate:(MKMapView*)map {
UIImageView *google = [self googleImageForMapView:map];
CGRect googleFrame = CGRectMake(google.frame.origin.x, 10.0, google.frame.size.width, google.frame.size.height);
[google setFrame:googleFrame];
UILabel *copyright = [self copyrightLabelForMapView:map];
CGRect copyrightFrame = CGRectMake(copyright.frame.origin.x, 10.0, copyright.frame.size.width, copyright.frame.size.height);
[copyright setFrame:copyrightFrame];
}
@bkoell
bkoell / gist:10874350
Created April 16, 2014 13:23
keybase
### Keybase proof
I hereby claim:
* I am bkoell on github.
* I am bkoell (https://keybase.io/bkoell) on keybase.
* I have a public key whose fingerprint is 69B7 EDFA FDBE D420 D4D9 4FC7 CD88 D476 7E57 28E5
To claim this, I am signing this object: