title: How do you override UIView's +(id)layer; class method?
body: <p>I read in the documentation that a UIView's 'layer' property is read only and that you must override UIView's </p>
  
  <pre><code>+ (id)layer;
  </code></pre>
  
  <p>class method to access the layer's styling properties.</p>
  
  <p>Are there any examples of overriding this method to return a layer/view with styling properties already applied?</p>