Skip to content

Instantly share code, notes, and snippets.

View zssz's full-sized avatar

Zsombor Szabo zssz

View GitHub Profile
@zssz
zssz / UINavigationController+Swizzle.m
Created November 19, 2010 12:20
Swizzling navbar hide methods to tackle this bug http://screenr.com/UEc - No luck.
//
// UINavigationController+Swizzle.m
//
// Created by Zsombor Szabó on 11/19/10.
// Copyright 2010 IZE. All rights reserved.
//
#import "UINavigationController+Swizzle.h"
#import <objc/runtime.h>
@zssz
zssz / MKMapView+PointScroll.m
Created November 26, 2010 21:22
Scrolls the map the point amount specified in offset and optionally animates this.
- (void)scrollWithOffset:(CGSize)offset animated:(BOOL)animated
{
MKMapPoint centerMapPoint = MKMapPointForCoordinate(self.centerCoordinate);
CGPoint centerPoint = [self convertCoordinate:self.centerCoordinate toPointToView:self];
CGPoint destinationPoint = CGPointMake(centerPoint.x+offset.width, centerPoint.y+offset.height);
CLLocationCoordinate2D destinationCoordinate = [self convertPoint:destinationPoint toCoordinateFromView:self];
MKMapPoint destMapPoint = MKMapPointForCoordinate(destinationCoordinate);
MKMapRect mapRect = self.visibleMapRect;
@zssz
zssz / gist:846696
Created February 27, 2011 23:33
Demo
//
// IZGoogleGeocoder.m
// JSON Google Geocoder
//
// Created by Zsombor Szabó on 2/11/11.
// Copyright 2011 IZE. All rights reserved.
//
#import "IZGoogleGeocoder.h"
@zssz
zssz / IZOSMShortLink.h
Created May 18, 2011 06:02
IZOSMShortLink
@zssz
zssz / keybase.md
Created October 17, 2019 08:49
Keybase proof

Keybase proof

I hereby claim:

  • I am zssz on github.
  • I am zssz (https://keybase.io/zssz) on keybase.
  • I have a public key whose fingerprint is 955F ABB6 7280 0EB4 5C4F ABE4 94F9 D589 CF7F 39D2

To claim this, I am signing this object: