title: How to cast an object to class in Objective-C
body: <p>Is there a way to cast objects in objective-c?</p>
  
  <p>For example, I have that object and want to cast it into a class:</p>
  
  <pre><code>NSManagedObject *item = [array objectAtIndex:indexPath.row];  
  </code></pre>