Performing multiple fetches in Core Data within the same view

Posted by yesimarobot on Stack Overflow See other posts from Stack Overflow or by yesimarobot
Published on 2010-03-08T21:28:44Z Indexed on 2010/03/08 21:51 UTC
Read the original article Hit count: 232

I have my CD store setup and everything is working. Once my initial fetch is performed, I need to perform several fetches based on calculations using the data from my first fetch. The examples provided from Apple are great, and helped me get everything going but I'm struggling with executing successive fetches. Any suggestions, or tutorial links are appreciated.

  1. Table View loads data from CD store.
  2. When a user taps a row it pushes a detail view
  3. The detail view loads details from CD. [THE ABOVE STEPS ARE ALL WORKING]
  4. I perform several calculations on the data fetched in the detail view.
  5. I need to then perform several other fetches based on the results of my calculations.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data