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

//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//  THE SOFTWARE.

#if os(OSX)
    import AppKit
#else
    import UIKit
#endif

#if os(OSX)
    public typealias IndicatorView = NSView
#else
    public typealias IndicatorView = UIView

}

extension Indicator {
    #if os(macOS)
    public var viewCenter: CGPoint {
        get {
            let frame = view.frame
