title: Biggest distance between two points in an array
body: <p>Let's say I have an array with <strong>CGPoints</strong> (wrapped with <strong>NSValues</strong>). How can I get the two points which are most distant from each other. I mean the <strong>distance between these two points is the biggest</strong>? I can just check every two points but that does not look efficient. Is there a better way of doing this?</p>
  
  <p>Thanks for help!</p>