Andy Bennett a veteran (20 years!!) digital developer; he’s been writing iOS apps for 7 years for the likes of Firef.ly, New Era and Unilever. Most recently specialised in location based services using Swift.
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
empty | |
empty slice | |
empty slice structure | |
empty slice structure dislocation | |
empty slice structure dislocation abandoned | |
empty slice structure dislocation abandoned concealed | |
empty slice structure dislocation abandoned concealed broken | |
empty slice structure dislocation abandoned concealed broken chaotic | |
empty slice structure dislocation abandoned concealed chaotic | |
empty slice structure dislocation abandoned broken |
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
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
precedencegroup ForwardApplication | |
{ | |
associativity: left | |
higherThan: AssignmentPrecedence | |
} |
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
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
typealias Anim = (UIView) -> Void | |
typealias Func = () -> Void | |
precedencegroup ForwardComposition | |
{ |
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
import Foundation | |
precedencegroup ForwardApplication | |
{ | |
associativity: left | |
higherThan: AssignmentPrecedence | |
} | |
precedencegroup ForwardComposition | |
{ |
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
import Foundation | |
import UIKit | |
precedencegroup ForwardApplication | |
{ | |
associativity: left | |
higherThan: AssignmentPrecedence | |
} | |
precedencegroup ForwardComposition |
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
import Foundation | |
import AppKit | |
precedencegroup ForwardApplication | |
{ | |
associativity: left | |
higherThan: AssignmentPrecedence | |
} | |
precedencegroup ForwardComposition |
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
// | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2017 Andy Bennett (@akbsteam) | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is |
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
extension Bool { | |
public func trueSignal(or fail: Fail) -> Signal<Bool, Fail> { | |
guard self else { return Signal.failed(fail) } | |
return Signal.just(true) | |
} | |
} | |
extension Optional { | |
public func valueSignal(or fail: Fail) -> Signal<Wrapped, Fail> | |
{ |
I hereby claim:
- I am akbsteam on github.
- I am akbsteam (https://keybase.io/akbsteam) on keybase.
- I have a public key ASAWYm3MXjpRhLaRBrNi0g0kwgrplKppSAlFfwpZt5lycgo
To claim this, I am signing this object:
NewerOlder