nsfetchrequest
CoreData - Unique Values from subEntity....?
iPhone CoreData funky fetch-request: I want to build function to retrieve array of Unique-CategoryCodes for my products[详细]
2023-01-29 15:28 分类:问答How to serialize a NSPredicate object?
Is there a way to inspect a NSPredicate object for the purposes of serializing it into a URL? I am trying to retrieve the data remotely and need to translate the predicate object into a URL with query[详细]
2023-01-24 02:35 分类:问答Is it possible to have Core Data sort the "many" part of a To-Many relationship during a fetch request?
I\'m using Core Data to cache a decent amount of information, and I have a To-Many relationship set up among my managed objects. Naturally I use an NSFetchRequest to fetch an array of the singular sid[详细]
2023-01-21 06:22 分类:问答Sorting a to-many relationship when calling NSFetchRequest
I have two entities. Client and Project.A Client has many Projects, but a Project can only be assigned to one Client. This has been designed with the datamodel.[详细]
2023-01-20 07:23 分类:问答Core data, how to get NSManagedObject's ObjectId when NSFetchRequest returns NSDictionaryResultType?
I have an NSFetchRequest which is returning the objects\' properties in an NSDictionaryResultType. Is it possible to also get the objects\' ObjectId within this dictionary? Otherwise I will need to ru[详细]
2023-01-20 04:09 分类:问答fetchresultscontroller issue or managed object context?
Reference POST: Core Data - Basic Questions I am able to get the Managed object context from this piece of code. It bring me to another question. I have 2 VIEW CONTROLLERS and 1 NSObject[详细]
2023-01-15 12:02 分类:问答Adding a relationship in my data model causes NSFetchRequest to return zero items
I have a simple entity called \"Store\" built in Xcode\'s data modeler for use in an iPhone application.I also have a class (Store) associated with it and I\'ve been able to store and retrieve data us[详细]
2023-01-14 14:01 分类:问答NSFetchRequest and predicateWithBlock
I am playing with an app that uses Core Data and NSManagedObjects to populate a UITableView.There is only one class in my application, called Event.I have created the following custom instance method[详细]
2023-01-12 20:26 分类:问答NSFetchResultsController + sectionNameKeyPath + section order
I have a one to many entity relationship between two entities: EntityP (Parent) <-->> EntityC (Child)[详细]
2023-01-10 21:12 分类:问答NSFetchRequest without sort descriptors
We cannot use NSFetchRequest without providing NSSortDescriptor(s). All i want to do is fetch the results and show them in the order in which they were created. Is there a built-in way to do that?, or[详细]
2023-01-10 05:33 分类:问答