This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let actionClass: AnyClass = NSClassFromString("_UIImmutableAction")! | |
let functions = dumpFunctions(anyClass: actionClass) | |
let vars = dumpVars(anyClass: actionClass) | |
if let superclass = class_getSuperclass(actionClass) { | |
let functions = dumpFunctions(anyClass: superclass) | |
let vars = dumpVars(anyClass: superclass) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "unicode61", | |
"dependencies": { | |
"SQLCipher/common": [ | |
], | |
"SQLCipher/fts": [ | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcodebuild test -workspace MyProject.xcworkspace -scheme MyScheme -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPad Air,OS=8.3" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES OBJROOT=./build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Works just fine | |
uri = URI('https://api.twitter.com/1.1/statuses/mentions_timeline.json') | |
http = Net::HTTP.new(uri.hostname, uri.port) | |
http.use_ssl = true | |
req = Net::HTTP::Get.new(uri) | |
res = http.request(req) | |
puts res.body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am paweldudek on github. | |
* I am paweldudek (https://keybase.io/paweldudek) on keybase. | |
* I have a public key whose fingerprint is B961 902B 6DA3 CACD E19A A1C2 7B6E 35E7 3FE3 4790 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface TAPCarouselCollectionViewLayout : UICollectionViewFlowLayout | |
@end | |
@implementation TAPCarouselCollectionViewLayout | |
#pragma mark - Invalidating Layout | |
- (BOOL)shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds { |