set nil for optional property issue
boboboa32 opened this issue · comments
Bobo Shone commented
Got an error "Attempt to insert non-property list object null for key" when set nil for optional property.
I want to remove from UserDefaults by setting to nil, but got a <null>
new value from KVO. Don't know how to check <null>
. thanks
JD Gadina commented
Should now be fixed.
You can use nil
to remove a value.