title: Anti Alias, UIImage and Performance
body: <p>I have a <code>UIImage</code> loaded into a <code>UIImageView</code>. The <code>UIImage</code> is larger than the <code>UIImageView</code> and it has been scaled down to fit. Obviously the scaled down <code>UIImage</code> shows jagged edges.</p>
  
  <p><strong>What is the best way to anti-alias this image with regards to performance?</strong></p>
  
  <p>I've seen <a href="http://d3signerd.com/old/image-anti-aliasing-in-objective-c/" rel="nofollow noreferrer">this method using <code>drawInRect</code></a> but <a href="https://stackoverflow.com/a/14668271/1037617">I've also read that <code>drawInRect</code> does not give the best performance</a>.</p>
  
  <p>I've read several different articles and I've tried a few methods myself. But after reading a <a href="https://stackoverflow.com/a/3838975/1037617">few</a> <a href="https://developer.apple.com/library/ios/qa/qa1708/_index.html" rel="nofollow noreferrer">more</a> <a href="https://stackoverflow.com/a/8767609/1037617">posts</a> on the performance differences between using <code>UIViews</code> and Core Graphics, I was wondering which method for anti aliasing an image gives the best performance?</p>