title: iOS - Image border or another image as border - performance wise which is better?
body: <p>I am new to iOS development. I am working in an app which has lots of images (table with each cell having an image). I need to show border for each image. Currently this is how I do it - </p>
  
  <pre><code>[image.layer setBorderColor:[[UIColor red] CGColor]];
  [image.layer setBorderWidth:2.5f];
  </code></pre>
  
  <p>This border width and colour is fixed for each image in the cell. Will it better if I instead use an image for border (in Xcode IB) instead of setting it every time at runtime?</p>