title: How can I get the index of sub UIView in the parent view?
body: <p>I want to use <strong>exchangeSubviewAtIndex:</strong> withSubviewAtIndex: method.</p>
  
  <p>but how can i get the indexes of those views? i already have their pointers, so I thought there might be a method like. </p>
  
  <pre><code>[parentView indexOfSubview:subview];
  </code></pre>
  
  <p>but I couldn't find that kind of thing in Xcode documents library.</p>
  
  <p>please help me! thank you in advance.</p>