ITeye博客

NSFetchRequest排序

mrjeye · 2011-11-10 16:53 · iphone · 移动开发 · Markdown


NSSortDescriptor *sortByPrice = [[nssortdescriptor alloc] initWithKey:@"price" ascending:NO];
[fetchrequest setsortdescriptors:[nsarray arraywithobjects:sortbyprice, nil]]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。