title: Content padding in custom view with Cocoa auto layout
body: <p>I have a custom <code>NSView</code> subclass which has a border around itself. The border is drawn inside this view. Is it possible to respect this borders with auto layout?</p>
  
  <p>For example, when I place the subview to my custom view and set constraints like this:</p>
  
  <pre><code>@"H:|-(myViewSubView)-|" (not @"H:|-(myViewBorderWidth)-(myViewSubView)-(myViewBorderWidth)-|")
  @"V:|-(myViewSubView)-|"
  </code></pre>
  
  <p>the layout must be:</p>
  
  <pre><code>Horizontal: |-(myViewBorderWidth)-|myViewSubview|-(myViewBorderWidth)-|
    Vertical: |-(myViewBorderWidth)-|myViewSubview|-(myViewBorderWidth)-| 
  </code></pre>
  
  <p>I've tried to overwrite <code>-bounds</code> method in my view to return the bounds rect without the borders, but it doesn't help.</p>