Re: NSUserDefaults Bindings Reset

2015-11-03 Thread Jerry Krinock
> On 2015 Nov 01, at 04:58, Michael de Haan  wrote: > > NSUserDefaults.standardUserDefaults().removePersistentDomainForName(bundleIdentifier!) That line of code seems like it is pulling the rug out from under Cocoa Bindings, which might explain why they don’t work. A

NSUserDefaults Bindings Reset

2015-11-01 Thread Michael de Haan 
I have made a test Project to understand resetting UserDefaults. A label’s value is bound to the shared UserDefaults in the UI, and works as expected when the Defaults are updated @IBAction fun changeMeaningOfLife……... let meaning = Int(arc4random() % 99)