Change VideoEffect from a Base Class to a Protocol #1527
RainyTunes
started this conversation in
Idea
Replies: 1 comment 1 reply
-
I agree. However, as I am currently reviewing the design around here, I will take care of it myself. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I believe in the following code, the protocol-extension design is better than the class-heritage design.
Now:
how about:
It seems that they can provide the same functionality, while the protocol-based one is much more modern and flexible.
I would be honoured to create a PR myself if you agree with the idea.
Beta Was this translation helpful? Give feedback.
All reactions