                                     y: labelTitle.bottomRight.y+labelOffset))
         labelDetailText.frame = (CGRect(origin: originDetail, size: sizeDetail))
     }
-    
+
 }

    private var labelDetailText = UILabel()
    private let maxHeight: CGFloat = 2000.0
    private let margin: CGFloat = 20.0
    
    private lazy var circleView: UIView = {
        let view = UIView()
        view.backgroundColor = .random
        return view
    }()
    
    override init(style: CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        labelTitle.font = UIFont.preferredFont(forTextStyle: .title2)

        contentView.addSubview(circleView)
        contentView.addSubview(labelDetailText)
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    func realmBrowserObjectAttributes(_ objectTitle: String, detailText: String) {
        labelTitle.text = objectTitle
        labelDetailText.text = detailText
        labelDetailText.font = .systemFont(ofSize: 11)
    }

    override func prepareForReuse() {
        super.prepareForReuse()
        labelTitle.text = ""
        labelDetailText.text = ""
    }

    override func sizeThatFits(_ size: CGSize) -> CGSize {
        let screenWidth: CGFloat = size.width
        let usableSize = CGSize(width: screenWidth-2*margin,
