I hereby claim:
- I am ryangibson on github.
- I am ryang (https://keybase.io/ryang) on keybase.
- I have a public key whose fingerprint is 52F2 7C13 60ED 944F BDCE CF5A 0916 2989 61EE DBC8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function Version(versionString) { | |
this.version = { | |
major: 0, | |
minor: 0, | |
patch: 0 | |
}; | |
if (versionString) { | |
this.parse(versionString); | |
} | |
} |
function Version(versionString) { | |
this.version = { | |
major: 0, | |
minor: 0, | |
patch: 0 | |
}; | |
if (versionString) { | |
this.parse(versionString); | |
} | |
} |
// MARK: Protocols | |
protocol ResponderProtocol { | |
var nextResponder: ResponderProtocol? { get } | |
} | |
protocol CopyProtocol { | |
func copy() | |
} | |
// MARK: Concrete responder |
import UIKit | |
import PlaygroundSupport | |
let cellIdentifier = "cellId" | |
let dataUrl = URL(string: "https://raw.githubusercontent.com/facebook/react-native/master/docs/MoviesExample.json")! | |
func contstraint(_ attr: NSLayoutAttribute, from: UIView, to: UIView) -> NSLayoutConstraint { | |
return NSLayoutConstraint( | |
item: from, | |
attribute: attr, |