0
我已存儲的詞典在變形attribute.I想知道變形的屬性
如何從它那裏得到一個數據?**
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc]
initWithEntityName:@"MemberProfile"];
NSSortDescriptor *ordering = [[NSSortDescriptor alloc] initWithKey:
[member.member_Profile objectForKey:"@order"] ascending:YES];
[fetchRequest setSortDescriptors:[NSArray
arrayWithObjects:ordering,nil]];
NSArray *result = [self.managedObjectContext
executeFetchRequest:fetchRequest error:Nil];
self.masterList = [[NSMutableArray alloc] initWithArray:result];
你可以發佈任何你試過的代碼嗎? –
我想根據訂單鍵獲取數據。 – Prince