     }
 }
 
-protocol RBSRealmPropertyCellDelegate: class {
+protocol RBSRealmPropertyCellDelegate: AnyObject {
     func textFieldDidFinishEdit(_ input: String, property: Property)
 }

        label.textColor = .lightGray
        return label
    }()
    private var property: Property! = nil
    weak var delegate: RBSRealmPropertyCellDelegate?
    
    override init(style: CellStyle, reuseIdentifier: String?) {

    }
    
    private func configureKeyboard(for propertyType:PropertyType) {
        if propertyType == .float || propertyType == .double {
            textFieldPropValue.keyboardType = .decimalPad
        } else if propertyType == .int {
            textFieldPropValue.keyboardType = .numberPad
        } else if propertyType == .string {
            textFieldPropValue.keyboardType = .alphabet
        }
        let allowEditing = shouldAllowEditing(for: propertyType)
        if  allowEditing {
            textFieldPropValue.layer.borderColor = RealmStyle.tintColor.cgColor
            textFieldPropValue.layer.borderWidth = 1.0
