 
 #if canImport(UIKit)
 import UIKit
+public typealias RSColor = UIColor
+public typealias RSImage = UIImage
 #endif
 
 #if canImport(AppKit)
 import AppKit
-public typealias UIColor = NSColor
-public typealias UIImage = NSImage
+public typealias RSColor = NSColor
+public typealias RSImage = NSImage
 #endif
 
 // each type has its own random

        }).resume()
    }

    public static func randomGravatar(_ size: Int = 80, completion: ((_ image: UIImage?, _ error: Error?) -> Void)?) {
        let options = Randoms.GravatarStyle.allValues
        Randoms.createGravatar(options.randomElement()!, size: size, completion: completion)
    }

        return Date.random()
    }

    public static func randomColor(_ randomAlpha: Bool = false) -> RSColor {
        return RSColor.random(randomAlpha)
    }

    public static func randomNSURL() -> URL {
