NSFetchedResultsController ignores fetchLimit property

Number:rdar://16486972 Date Originated:01-Apr-2014 10:09 AM
Status:Open Resolved:
Product:iOS Product Version:6.x & 7.x
Classification:Other Bug Reproducible:Yes
If the data store is empty at the time of the fetch, the fetchLimit property is ignored and instead all objects are returned.

Steps to Reproduce:
1. Create NSFetchRequest
2. Set fetchLimit on fetch request
3. Create NSFetchedResultsController
4. perform fetch
5. add data to the data store

Expected Results:
I expect the number of objects specified in fetchLimit to be returned.

Actual Results:
..instead all objects are returned.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!