     
     // MARK: - private method
     
-    private func labelWithAttributes(_ fontSize: CGFloat, weight: CGFloat, text: String) -> UILabel {
+    private func labelWithAttributes(fontSize: CGFloat, weight: CGFloat, text: String) -> UILabel {
         let label = UILabel()
         if #available(iOS 8.2, *) {
             label.font = UIFont.systemFont(ofSize: fontSize, weight: UIFont.Weight(weight))

import UIKit
import RealmSwift

final class RBSRealmPropertyCell: UITableViewCell, UITextFieldDelegate {
    private var labelPropertyTitle = UILabel()
    private var textFieldPropValue:UITextField = {
        let textField  = UITextField()
        let spacing = UIView(frame:CGRect(x:0.0, y:0.0, width:10.0, height:0.0))
        textField.leftViewMode = .always

            
            delegate.textFieldDidFinishEdit("\(isEqual.rawValue)", property: property)
            setNeedsLayout()
            textField.resignFirstResponder()
        }
    }
    
    func textFieldShouldReturn(_ textField: UITextField) -> Bool {
