Posts in Swift

Two-way binding. Interstellar FRP - Cocoa

A small experiment how to two-way bind a String property to a NSTextField. References: Interstellar How to use Functional Reactive Programming without Black Magic - Slide num. 40 var observableKey: UInt8 = 0 extension NSTextField: NSTextFieldDelegate { // text is a readonly property (proxy). We create an observable string when text property is