         return Int.random() > percentage
     }
     
-    public static func randomBool() -> Bool {
-        return Bool.random()
+    public static func randomCGFloat(lower: CGFloat = 0, _ upper: CGFloat = 1) -> CGFloat {
+        return CGFloat.random(lower, upper)
     }
     
     public static func randomDateWithinDaysBeforeToday(days: Int) -> NSDate {

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


// each type has its own random

public extension Bool {
    /// SwiftRandom extension
    public static func random() -> Bool {
        return Int.random() % 2 == 0
    }
}

public extension Int {
    /// SwiftRandom extension
    public static func random(lower: Int = 0, _ upper: Int = 100) -> Int {
