Created
April 10, 2017 18:25
-
-
Save hk0i/e585ef7abecb5e5f886d98d19ec96f1a 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
var videoSources: [CtsVideoSource] { | |
var sources = [CtsVideoSource]() | |
for lv in left { | |
// for each left video | |
if let source = lv.videoSource { | |
sources.append(source) | |
} | |
} | |
for rv in right { | |
// for each right video | |
if let source = rv.videoSource { | |
sources.append(source) | |
} | |
} | |
} // videoSources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment