 //  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 //  THE SOFTWARE.
 
-#if os(OSX)
+#if os(macOS)
     import AppKit
 #else
     import UIKit
 #endif
 
-#if os(OSX)
+#if os(macOS)
     public typealias IndicatorView = NSView
 #else
     public typealias IndicatorView = UIView

    }

    func startAnimatingView() {
        #if os(OSX)
            animatedImageIndicatorView.animates = true
        #else
            animatedImageIndicatorView.startAnimating()

    }

    func stopAnimatingView() {
        #if os(macOS)
            animatedImageIndicatorView.animates = false
        #else
            animatedImageIndicatorView.stopAnimating()
