Skip to content

Instantly share code, notes, and snippets.

View catalinaturlea's full-sized avatar

Catalina Turlea catalinaturlea

View GitHub Profile
@mbinna
mbinna / podforceupdate.sh
Created December 4, 2012 09:43
Clear CocoaPods cache, re-download and re-install all pods
#!/usr/bin/env bash
rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update
@sumardi
sumardi / gist:1519364
Created December 25, 2011 14:33
iPhoneDev - Detect double tap on the UIWebView
// Add <UIGestureRecognizerDelegate> in *.h file
- (void)viewDidLoad
{
UITapGestureRecognizer *singleFingerDTap = [[UITapGestureRecognizer alloc]
initWithTarget:self action:@selector(handleDoubleTap:)];
singleFingerDTap.numberOfTapsRequired = 2;
singleFingerDTap.delegate = self;
[self.webView addGestureRecognizer:singleFingerDTap];
[singleFingerDTap release];