title: IOS Core Data Fetch LAST object from Entity?
body: <p>I'm not finding a reference to "Last" so I'll ask what I hope is a fairly simple need to fulfill.  I have objects in a core data entity.  Currently I do not implement any sort of "time stamp" on this entity which would not help much anyway because the users travel coast to coast but I suppose I could always stamp in zulu time.</p>
  
  <p>I need to retrieve the LAST object that was added to refer to an attribute's value.  I know core data stores it's own unique incrementing "key" but I don't know how to reference it.  I need to check to see if the odometer reading the user is trying to enter is less then the last one entered or varies beyond normal bounds to check for user input error before saving a new object and present an alertview if so.</p>
  
  <p>I can't look for @MAX because the user may have made an erroneous high entry prior. but I can deal with that issue separately once the user has determined he has made an invalid entry somewhere that needs to be addressed and dealt with accordingly.</p>
  
  <p>Thanks.</p>