ejeinc / MetalScope

Metal-backed 360° panorama view for iOS
MIT License
324 stars 72 forks source link

Split `MediaSceneLoader` protocol #14

Closed junpluse closed 7 years ago

junpluse commented 7 years ago

This change splits MediaSceneLoader protocol into SceneLoadable, ImageLoadable and VideoLoadable protocols. PanoramaView, StereoView and StereoViewController are now conform them instead of MediaSceneLoader.

ImageLoadable and VideoLoadable have load() method in its protocol definition (not in protocol extension), so now you can override them.