     }
   }
 
+  override func layoutSubviews() {
+    label.sizeToFit()
+    label.frame = CGRect(origin: CGPoint.zero, size: CGSize(width: 50, height: 50))
+  }
+
   // MARK: - Helpers
 
   private var onePixel: CGFloat {

    layer.contentsScale = 1
    contentMode = UIViewContentMode.Redraw
    backgroundColor = .whiteColor()
  }

  override func drawRect(rect: CGRect) {


class TimelineView: UIView {

  var date = NSDate() {
    didSet {
      label.text = String(date.day())
    }
  }

  //IFDEF DEBUG

  lazy var label = UILabel()

  var hourColor = UIColor.lightGrayColor()
  var timeColor = UIColor.lightGrayColor()
