         }
     }
 
-    private func configureLabelType(for property: Property) {
-        if property.isArray {
-            labelPropertyType.text = "Array"
-        } else {
-            labelPropertyType.text = property.type.humanReadable
-        }
-    }
-
     deinit {
         disposables.forEach({ $0.invalidate() })
         disposables = []

                            property: Property) {
        self.property = property
        isEditingAllowed = shouldAllowEditing(for: property.type) && editMode
        labelPropertyTitle.text = propertyTitle
        textFieldPropValue.text = propertyValue
        configureToggle(for: property, value: propertyValue)
        configureKeyboard(for: property.type)
        configureLabelType(for: property)
        configureTextField(for: editMode)
        setNeedsLayout()
    }

    func configureToggle(for property: Property, value: String) {

                                                     height: toggle.bounds.size.height)))
            } else {
                textFieldPropValue.frame = CGRect(origin: originTextField,
                                                   size: CGSize(width: minWidth,
                                                                 height: sizeTextField.height + 16))
                let yPos = typeView.convert(typeView.titleCenter, to: self).y
                textFieldPropValue.center = CGPoint(x: textFieldPropValue.center.x, y: yPos)
            }
        }
    }

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