Friday, 15 August 2014

nsfetchedresultscontroller - Equivalent query MagicalRecord -> Realm.io -


Does anyone know that there is no similar expression in Realm.io for this query? I need the results classified by the "dream date" property

  // Find all dreams based on date NSPredicate * predicate = [NSPredicate predicateWithFormat: @ "user ==% @ and parseSyncDeleted == false ", user]; NSFetchedResultsController * Groups = [Dream MR_fetchAllGroupedBy: @ "dreamDate.dateWithoutTime" with advanced: predicate sorted: @ "dream day" ascending: yes]; Return group;           Converts 

Thanks!

The area does not have the underlying data structure, but you can use it very easily and efficiently with an NSArray or Can hold the NSDictionary of RLMResults. How to do this: View the groupedTableView example:


No comments:

Post a Comment