ejeinc / MetalScope

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

Improve compile time #15

Closed junpluse closed 7 years ago

junpluse commented 7 years ago

The reason why MetalScope takes a long time to build is PanoramaView+PanGesture.swift.

So…

  1. Flatten nested types
  2. Add more type annotations at Float.normalized (ex. PanGestureManager.normalize(_:))