             textFieldPropValue.layer.borderWidth = 0.0
         }
     }
-    
+
     func textFieldShouldBeginEditing(_ textField: UITextField) -> Bool {
         guard let property = property else { print("No properzy set"); return false }
         return shouldAllowEditing(for: property.type)
     }
-    
+
     private func shouldAllowEditing(for propertyType: PropertyType) -> Bool {
         return !(propertyType == .linkingObjects ||
             propertyType == .data ||
             propertyType == .linkingObjects ||
             propertyType == .object)
     }
-    
+
     func textFieldDidBeginEditing(_ textField: UITextField) {
         guard let property = property, let delegate = delegate else { return }
         if property.type == .bool {
             let isEqual: Bool = (textField.text! as String == "false")
             textField.text = isEqual.humanReadable
-            
+
             delegate.textFieldDidFinishEdit("\(isEqual.rawValue)", property: property)
             setNeedsLayout()
             textField.resignFirstResponder()
         }
     }
-    
+
     func textFieldShouldReturn(_ textField: UITextField) -> Bool {
         textField.isUserInteractionEnabled = false
         return true
     }
-    
+
     func textFieldDidEndEditing(_ textField: UITextField) {
         guard let property = property else { return }
         if  property.type != .bool {

            textFieldPropValue.keyboardType = .alphabet
        }
    }
    
    private func configureLabelType(for property: Property) {
        if property.isArray {
            labelPropertyType.text = "Array"

            }
        }
    }

    private func viewSizes(for views: [UIView], fitting size: CGSize) -> [CGSize] {
        let sizes = views.map({ $0.sizeThatFits(size) })
        return sizes
    }

    @objc func toggleSwitch() {
        guard let delegate = delegate, let prop = property else { return }
        delegate.textFieldDidFinishEdit("\(toggle.isOn)", property: prop)
    }

    // MARK: - private method

    private func labelWithAttributes(fontSize: CGFloat, weight: CGFloat, text: String) -> UILabel {
        let label = UILabel()
        if #available(iOS 8.2, *) {
