-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binding to a ShortcutRecorder hosted in a NSUserDefaultsController forces v2 compatibility mode #152
Comments
How come that your subclass of This check happens when the value is about to get propagated from |
Sorry, badly worded, let me try again. I have a class, I attempted to bind it to an instance property
Nothing here should directly interact with an edit: thank you for your quick response, by the way!! :) |
You need to pass a transformer via the
|
I was trying to set up a shortcut recorder in our application preferences in a subclass of NSUserDefaultsController, but not binding directly to anything user preference related, and hit the warning:
in SRRecorderControl.m:977 of SR 3.4.0 (
-propagateValue:forBinding:
). The check seems overly broad -- in this case there was no userDefaults value being bound to convert to a CFPreferences value, and a v3 binding should be just fine. indeed, when I commented out the check, everything worked properly.As a work-around I bound to a different class, but this seems like it shouldn't be required.
The text was updated successfully, but these errors were encountered: