Skip to content

Instantly share code, notes, and snippets.

Petro Korienev soxjke

Block or report user

Report or block soxjke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View picking.swift
struct RectangleConfig {
var width: Int = 0
var height: Int = 0
class ConfigView: NSView {
// Models
let config = MutableProperty<RectangleConfig?>(nil)
var width: SignalProducer<Int?, NoError>!
soxjke / injectionexample.swift
Last active Oct 4, 2016 — forked from PaulTaykalo/injectionexample.swift
Function Injection example
View injectionexample.swift
//: Playground - noun: a place where people can play
import Foundation
import UIKit
typealias ImagePostProcessingOp = (UIImage) -> Void
class ImageProcessor {
let postProcessOp : ImagePostProcessingOp
View gist:d4b13c772569a7188d5741afa32f2cef

#Twitter client with offline mode.

  • As a user I can login to Twitter
  • As a user I see my twitter name in the navigation bar
  • As a user I can view my Twitter feed (fail plan: display error)
  • As a user I can refresh my feed using pull-to-refresh (fail plan: display error)
  • As a user I can view my Twitter feed without internet connection
  • As a user I expect that feed will be automatically updated when network connection is available
  • As a user I can tap on system compose button on the right of navigation bar and get to post new tweet screen
  • As a user I can post new tweet (fail plan: display error)
You can’t perform that action at this time.