-
Notifications
You must be signed in to change notification settings - Fork 431
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
Add primary associated types to property and binding protocols #888
base: master
Are you sure you want to change the base?
Add primary associated types to property and binding protocols #888
Conversation
- PropertyProtocol - MutablePropertyProtocol - ComposableMutablePropertyProtocol - BindingSource - BindingTargetProvider
I'm still very irritated that I don't have a solution that doesn't involve duplicating everything in the protocol... |
Resolves #887 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍 . If you could just fix the one typo (which already existed in the original definition).
Sources/UnidirectionalBinding.swift
Outdated
extension Signal: BindingSource where Error == Never {} | ||
extension SignalProducer: BindingSource where Error == Never {} | ||
|
||
#if swift(>=5.7) | ||
/// Describes an entity which be bond towards. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Describes an entity which be bond towards. | |
/// Describes an entity which can be bound towards. |
This typo is also in the original below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Fixed it in a couple other spots that seemed incorrect as well
Including the following protocols
Checklist