title: why can this code not access 'borderWidth' (iphone code attached)
body: <p>why can this code not access 'borderWidth'  (iphone code attached)</p>
  
  <p>This is based on a simple test project, but I did add QuartzCore framework however this didn't help.  Still is throwing the error, see code below.  Another project where I do this it works fine and I can't see the difference</p>
  
  <pre><code>#import "Customview.h"
  @implementation Customview
  - (id)initWithCoder:(NSCoder *)coder {
      self = [super initWithCoder:coder];
      if (self) {
  
          // UI Layout
          self.layer.borderWidth = 5; // ERROR error: accessing unknown 'borderWidth' component of a property
      }
      return self;
  }
  </code></pre>