     static func randomDateWithinDaysBeforeToday(days: Int) -> NSDate {
         return NSDate.randomWithinDaysBeforeToday(days)
     }
-
+    
     static func randomDate() -> NSDate {
         return NSDate.random()
     }

}

extension CGFloat {
    static func random() -> CGFloat {
        return CGFloat(Float(arc4random()) / Float(UINT32_MAX))
    }
}

extension UIColor {
    static func random(randomAlpha: Bool = false) -> UIColor {
        let randomRed = CGFloat.random()
        let randomGreen = CGFloat.random()

}

extension Array {
    /// SwiftRandom extension
    func randomItem() -> Element {
        let index = Int(arc4random_uniform(UInt32(self.count)))
        return self[index]
    }
}

extension NSURL {
    /// SwiftRandom extension
    class func randomURL() -> NSURL {
        return NSURL(string: Randoms.randomFakeURLString())!
    }
}

struct Randoms {
    
    //==========================================================================================================
    // MARK: - Object randoms
    //==========================================================================================================
    
    static func randomInt(lower: Int = 0, _ upper: Int = 100) -> Int {
        return Int.random(lower, upper)
