FETCH MISTAKE

0 views
Skip to first unread message

marcio

unread,
Mar 8, 2010, 11:49:03 AM3/8/10
to iPhone Application Development Auditors
ok here is MY ERROR. A good friend of mine helped me out on this
one. I was using NSFetchedResultsController and the FlickrFetcher
class calls a SORT DESCRIPTOR with @"name" as the field to sort by. I
named my ivars photoName and photoURL and photoOwner so i got the
NSSQLEntity key id=2 error because it wasnt finding @"name" as a valid
attribute. Hope it helps someone out there :)

wgp...@gmail.com

unread,
Mar 8, 2010, 1:47:33 PM3/8/10
to iPhone Application Development Auditors
haha ... looks like we both found the solution at the same time :)
Anyhow, check out my post for a solution to generalize this method for
use by all your entities.
Reply all
Reply to author
Forward
0 new messages