Skip to content

Instantly share code, notes, and snippets.

View AKupetskiy's full-sized avatar
🇺🇦

Andrii Kupetskyi AKupetskiy

🇺🇦
  • Amazon
  • Kraków, Poland
View GitHub Profile
@AKupetskiy
AKupetskiy / podforceupdate.sh
Created June 7, 2016 22:15 — forked from mbinna/podforceupdate.sh
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
@AKupetskiy
AKupetskiy / implementationWithBlock.swift
Created April 9, 2017 16:27 — forked from neonichu/implementationWithBlock.swift
How to use imp_implementationWithBlock in Swift
import Foundation
import ObjectiveC.runtime
let myString = "foobar" as NSString
println(myString.description)
let myBlock : @objc_block (AnyObject!) -> String = { (sself : AnyObject!) -> (String) in
"✋"
}