NSFetchRequest排序
NSSortDescriptor *sortByPrice = [[nssortdescriptor alloc] initWithKey:@"price" ascending:NO];
[fetchrequest setsortdescriptors:[nsarray arraywithobjects:sortbyprice, nil]]
NSSortDescriptor *sortByPrice = [[nssortdescriptor alloc] initWithKey:@"price" ascending:NO];
[fetchrequest setsortdescriptors:[nsarray arraywithobjects:sortbyprice, nil]]
暂无评论。
评论功能维护中,当前仅展示历史评论。