Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional iPhone and iPad Database Application Programming
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional iPhone and iPad Database Application Programming
This is the forum to discuss the Wrox book Professional iPhone and iPad Database Application Programming by Patrick Alessi; ISBN: 978-0-470-63617-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Database Application Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 26th, 2011, 02:10 PM
Registered User
Join Date: Apr 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Filtering Results with NSPredicate - Chapter 7 p.204/5

When I use the code in the book with iOS 4.3 I get the following error:

2011-04-26 12:02:56.470 Tasks[379:207] FATAL ERROR: The persistent cache of section information does not match the current configuration.  You have illegally mutated the NSFetchedResultsController's fetch request, its predicate, or its sort descriptor without either disabling caching or using +deleteCacheWithName:

2011-04-26 12:02:56.471 Tasks[379:207] fetch request = <NSFetchRequest: 0x4d2a910> (entity: Task; predicate: (priority == 3); sortDescriptors: ((
    "(text, descending, compare:)"
)); batch size: 20; type: NSManagedObjectResultType; )
From some googling it appears that I needed to add the following at the top of the method:

[NSFetchedResultsController deleteCacheWithName:nil];
Am I doing something wrong or is this something that changed in a version of iOS between the book's development and now?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering results spinout XSLT 9 October 30th, 2010 07:23 AM
filtering results? chris davies Classic ASP Basics 2 July 4th, 2006 09:41 AM
Chpt 6 pg 204-205 harrison4411 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 June 10th, 2006 09:52 AM
Filtering FSO results nancy Classic ASP Components 3 October 3rd, 2005 10:15 PM
Chapter 4 - Filtering example pehrig BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 6 September 24th, 2004 02:39 PM

All times are GMT -4. The time now is 10:38 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.