title: Change border of an image on Xcode 6.3
body: <p>I am making a game using this function:</p>
  
  <pre><code> if (CGRectIntersectsRect(object.frame, object2.frame)) {
          [self GameOver];
   }
  </code></pre>
  
  <p>Both objects are square however the image of <code>object</code> #2 is not.
  Therefore when the borders collide (but not the actual pictures) the game ends. Is there a way I can have the border <em>"fit"</em> to the image, so that the game only ends when the actual pictures collide. </p>
  
  <p>Thanks :)</p>