Retrieve Core Data Entities in Order of Insertion

Posted by Andy Shea on Stack Overflow See other posts from Stack Overflow or by Andy Shea
Published on 2010-04-25T10:46:31Z Indexed on 2010/04/25 10:53 UTC
Read the original article Hit count: 370

Filed under:
|
|
|

Is there an internal ID variable or timestamp I can use in a NSSortDescriptor to retrieve Core Data entities in the order they were inserted?

I would rather not have to create such properties if there is a cleaner way, though will obviously do so if there are no other alternatives.

© Stack Overflow or respective owner

Related posts about core-data

Related posts about sort