I hereby claim:
- I am ksmandersen on github.
- I am ksmandersen (https://keybase.io/ksmandersen) on keybase.
- I have a public key whose fingerprint is AAA6 F6F2 F1B0 5FD0 A55B C524 2AF1 13BD 1A2B C11D
To claim this, I am signing this object:
// This is a generated file, do not edit! | |
// Generated by R.swift, see https://github.com/mac-cain13/R.swift | |
import Foundation | |
import Rswift | |
import UIKit | |
/// This `R` struct is code generated, and contains references to static resources. | |
struct R { | |
/// This `R.color` struct is generated, and contains static references to 0 color palettes. |
import UIKit | |
import GenericViewKit | |
public class StateView: GenericView { | |
public enum State { | |
case Loading | |
case Loaded | |
case Error | |
} |
import UIKit | |
import GenericViewKit | |
public class StateView: GenericView { | |
public enum State { | |
case Loading | |
case Loaded | |
case Error | |
} |
import UIKit | |
import GenericViewKit | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
private let applicationController = ApplicationController() | |
func application(application: UIApplication, | |
didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
applicationController.configureReporting() |
public extension UIView { | |
func alignCenterX(_ constant: CGFloat = 0, multiplier: CGFloat = 1, to view: UIView, | |
attribute: NSLayoutAttribute = .centerX, | |
relation: NSLayoutRelation = .equal, | |
priority: UILayoutPriority = UILayoutPriorityRequired) -> NSLayoutConstraint { | |
return alignAttribute(attribute: .centerX, relation: relation, | |
to: view, otherAttribute: attribute, | |
multiplier: multiplier, | |
constant: constant, priority: priority) | |
} |
let firstView = UIView() | |
let otherView = UIView() | |
// align.swift: | |
firstView.alignTop(20, to: otherView) | |
// vanilla: | |
firstView.topAnchor.constraint(equalTo: otherView.topAnchor, constant: 20) | |
# initialization file (not found) |
I hereby claim:
To claim this, I am signing this object:
for f in ./*.flac; do avconv -n -i "$f" -c:a alac "${f%.*}.m4a" && rm "$f"; done |
{ | |
"presets": ["es2015"] | |
} |