casting needed?

Posted by Joo Park on Stack Overflow See other posts from Stack Overflow or by Joo Park
Published on 2010-04-14T08:43:42Z Indexed on 2010/04/14 8:53 UTC
Read the original article Hit count: 353

Filed under:

what is the difference between these two lines of code? Is there a difference?

NSManagedObject* object = (NSManagedObject*)[self.fetchedResults objectAtIndexPath:indexPath];

NSManagedObject* object = [self.fetchedResults objectAtIndexPath:indexPath];

© Stack Overflow or respective owner

Related posts about objective-c