You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.
The setValueDidChangeBlock method in BOSetting is not exposed in the header file.
I'm wondering how the Model layer can register to be notified for any changes (so without adding itself as a target in the UI layer) ?
The text was updated successfully, but these errors were encountered:
This again comes down to the discussion in #32. As Bohr relies uniquely on NSUserDefaults, value observation can be achieved simply by observing NSUserDefaults directly through the standard KVO mechanism. Again, I didn't originally include support for observation because of the reliance on NSUserDefaults, but this is something we definitely need to work on for the next major, storage-agnostic release.
The
setValueDidChangeBlock
method in BOSetting is not exposed in the header file.I'm wondering how the Model layer can register to be notified for any changes (so without adding itself as a target in the UI layer) ?
The text was updated successfully, but these errors were encountered: