This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
0.14.0
Pre-release
Pre-release
- Extract default implementations for
Loadable
protocols (#19)
Now you can reuse the default implementation of load
methods when you override them.
class MyViewController: SceneLoadable, ImageLoadable {
var scene: SCNScene?
func load(_ image: UIImage, format: MediaFormat) {
ImageSceneLoader(target: self).load(image, format: format)
// your custom logic...
}
}
Additions
- New struct
ImageSceneLoader
- New struct
VideoSceneLoader