small medium large xlarge

Back to: All Forums  Core Data
Generic-user-small
30 Oct 2009, 21:59
Igor Delovski (1 post)

Hello everybody,

just bought Cora Data and the iPhone book few days ago. The idea was to start with the iPhone SDK book first, but somehow I grabbed this one first and now I can’t put it down.

Well, on page 57 there is a listing from AppDelegate.m and I see that sorters array is used twice. First, with request and at the end on result. Why? Wasn’t the first time all that was needed to receive a sorted array?

Avatarsmall_pragsmall
06 Nov 2009, 03:46
Marcus S. Zarra (284 posts)

That is an error born out of an old habit. Setting the sort descriptor in the NSFetchRequest is sufficient.

You must be logged in to comment