iPhone – IOS filter NSFETCHEDRESULTSCONTROLLER is valid

I’m trying to add search support to UITableView that supports Core Data, and I’m starting to experience some performance issues. I’m currently associated with two NSFetchedResultsControllers (one for general and one for search ). In my UISearchDisplayDelegate method, I release and recreate my NSFetchedResultsController after each call. However, this will cause a lag when typing! Is there a more effective way to filter NSFetchedResultsController? I have set my batch size to about 50 items, if it is different, my database has thousands of records. Thank you!
NSFetchedResultsController The documentation is very clear:

>If There is a cache, please delete it.>Update the fetchRequest attribute. Please note that you cannot simply modify an existing fetch request; you must create a new one.>Call -executeFetch: .

I’m trying to add search support to UITableView that supports Core Data, and I’m starting to experience some performance issues. I’m currently associated with two NSFetchedResultsController (one for general and one for search). In my UISearchDisplayDelegate In the method, I release and recreate my NSFetchedResultsController after each call. However, this will cause lag when typing! Is there a more effective way to filter NSFetchedResultsController? I have set my batch size to about 50 items, if it is different, my database has thousands of records. Thank you!

NSFetchedResultsController The documentation is very clear:

>If there is a cache, please delete it.>Update the fetchRequest attribute Please note that you cannot simply modify an existing fetch request; you must create a new one.>Call -executeFetch:.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1035 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.