Created
February 7, 2022 20:38
-
-
Save Edudjr/b0b7410e4b56be3dd8f6b80d440971dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct MusicSheetPlotter<T: Prototype> where T.CloneType: UIView { | |
let quarterNote: T | |
func plot(in view: UIView) { | |
... | |
stack.addArrangedSubview(quarterNote.clone()) | |
stack.addArrangedSubview(quarterNote.clone()) | |
stack.addArrangedSubview(quarterNote.clone()) | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment