     
     override func layoutSubviews() {
         super.layoutSubviews()
-
+        
         let screenWidth = contentView.bounds.width
-        let usableSize = CGSize(width: screenWidth-2*margin,
+        let usableSize = CGSize(width: screenWidth - 2 * margin,
                                 height: .greatestFiniteMagnitude)
         
         let sizeTitle = typeView.sizeThatFits(usableSize)
-
+        
         let originTitle = CGPoint(x: margin, y: margin)
         typeView.frame = CGRect(origin: originTitle, size: sizeTitle)
-
-//        let originDetail = CGPoint(x: originTitle.x, y: labelTitle.bottomRight.y + 10)
-//        let sizeObjectType = labelObjectType.sizeThatFits(usableSize)
-//        labelObjectType.frame = CGRect(origin: originDetail, size: sizeObjectType)
         
-//        let sizeDetail = labelDetailText.sizeThatFits(usableSize)
-//        let originDetail = CGPoint(x: margin + sizeCircle.width + margin/2, y: labelTitle.bottomRight.y+labelOffset)
-//        labelDetailText.frame = CGRect(origin: originDetail, size: sizeDetail)
+        //        let originDetail = CGPoint(x: originTitle.x, y: labelTitle.bottomRight.y + 10)
+        //        let sizeObjectType = labelObjectType.sizeThatFits(usableSize)
+        //        labelObjectType.frame = CGRect(origin: originDetail, size: sizeObjectType)
+        
+        //        let sizeDetail = labelDetailText.sizeThatFits(usableSize)
+        //        let originDetail = CGPoint(x: margin + sizeCircle.width + margin/2, y: labelTitle.bottomRight.y+labelOffset)
+        //        labelDetailText.frame = CGRect(origin: originDetail, size: sizeDetail)
     }
     
     // Configuration

            backgroundColor = .white
        }
    }

}

import UIKit

final class RealmObjectBrowserCell: UITableViewCell {
    
    static let identifier = NSStringFromClass(RealmObjectBrowserCell.self)
    
    let margin = UIView.margin16
    
    private lazy var typeView: ObjectTypeView = {
        let view = ObjectTypeView()
        contentView.addSubview(view)
        return view
    }()
    
    private lazy var labelDetailText: UILabel = {
        let label = UILabel()
        label.font = UIFont.preferredFont(forTextStyle: .body)
