sunshinejr / SwiftyUserDefaults

Modern Swift API for NSUserDefaults
http://radex.io/swift/nsuserdefaults/static
MIT License
4.84k stars 364 forks source link

[FYI] Defaults.observe might not work if it's shared #295

Open toshi0383 opened 1 year ago

toshi0383 commented 1 year ago

Found this issue on internet. https://stackoverflow.com/questions/28736506/kvo-with-shared-nsuserdefaults-in-swift

Just thought that it's worth sharing here. This can be closed as this is just for information. Cheers!

lordzsolt commented 1 year ago

The question is 8 years old, and it was fixed in iOS 10.

Is the issue still relevant?