     }
 
     private func analyzeView(view:UIView){
-        if !checkRejectView(view){
-            drawViewOn(view)
-        }else{
-            return
-        }
+        if checkRejectView(view){
+            return
+        }
+        drawViewOn(view)
+
         //to get child views
         let childViews = view.subviews
-        if childViews.count == 0{
-            return
-        }
-        for (var i = 0 ; i < childViews.count ; i++){
-            analyzeView(childViews[i] )
-        }
+        if childViews.isEmpty{
+            return
+        }
+        let _ = childViews.map(){ analyzeView($0) }
     }
 
     private func drawViewOn(view:UIView){

    }

    private func resetAllInteractionEnabled(){
        for view in enabledViews{
            view.userInteractionEnabled = false
        }
        enabledViews.removeAll()
    }

    //true: targetList include view

    }

    private func deleteAllMonitorViews(){
        let _ = buttons.map(){ $0.removeFromSuperview() }
        buttons.removeAll(keepCapacity: false)
    }

