         weak var ref: AnyObject?
         var name: String
         var date = NSDate()
+        var failedChecks = 0
 
         init(ref: AnyObject, name: String) {
             self.ref = ref

    }

    private func scheduleToRun() {
        let frequency = Int64(5 * Double(NSEC_PER_SEC))
        let delayTime = dispatch_time(DISPATCH_TIME_NOW, frequency)
        dispatch_after(delayTime, dispatch_get_main_queue()) {
            self.checkForLeaks()
            self.scheduleToRun()

    private static let sharedInstance = LeakInspector()
    private var refsToWatch = [RefWatch]()
    private let simulator = TARGET_IPHONE_SIMULATOR == 1
    private let frequency: NSTimeInterval = 3

    private init() {
        if simulator {
