title: Converting between unique NSIndexPath and unique NSUInteger (or int)
body: <p>Is there a better way than what is <a href="http://blog.jonmsterling.com/2009/08/19/converting-nsindexpath-to-a-unique-integer-in-uikit.html" rel="nofollow noreferrer">proposed here</a> to create a one-to-one mapping between an table view cell's <code>NSIndexPath</code> and a unique <code>NSUInteger</code> or <code>int</code>, in order to create a unique <code>tag</code> property value for a widget in the cell (a <code>UIProgressView</code>)?</p>
  
  <p>The link adds methods through a <code>UIKit</code> category extension that converts between <code>NSIndexPath</code> and <code>int</code>, but they only work for less than a certain number of rows. </p>
  
  <p>Granted, I may not run into that limit, but I'm wondering if there is a mapping that someone has come up with that can be guaranteed to work for any number of rows.</p>