title: Double colored border for UIImageView
body: <p>I would like to setup an image with 2 borders around it. Is it possible to duplicate the <code>borderWidth</code> property on the same image view somehow? Like this:</p>
  
  <pre><code>   // inner circle/border
     self.avatar.layer.borderWidth = 2.0f;
     // outer circle/border
     self.avatar.layer.borderWidth = 4.0f;
  
    UIColor *myColor = [UIColor colorWithRed:(24.0 / 255.0) green:(169.0 / 255.0) blue:(250.0 / 255.0) alpha: 1];
    UIColor *myColor2 = [UIColor colorWithRed:(24.0 / 255.0) green:(169.0 / 255.0) blue:(20.0 / 255.0) alpha: 1];
     self.avatar.layer.borderColor = myColor.CGColor;
     self.avatar.layer.borderColor = myColor2.CGColor;
  </code></pre>
  
  <p>Unfortunately this code doesn't work, but if there is any solution that's easy like this I would be very happy with it. Actually my only idea is to duplicate the <code>UIImageView</code>, put it under the "real" image and set border for it. This way would work, but I need a cleaner solution.</p>