nsfetchrequest
How to create an NSFetchRequest which filters Core Data objects based on parent relationships?
I have a Core Data model similar to this: Company Entity companyName attribute (string) To-Many relationship to Employee entities.[详细]
2023-02-08 09:57 分类:问答Is there a simple way to clear older Core Data entities?
I\'m currently using RestKit and CoreData to pull down a collection of \'Towns\' from a RESTful web 开发者_开发百科service.However, I have noticed that if a particular town is removed on the web servi[详细]
2023-02-06 23:03 分类:问答FetchedResultsController returning unknown object
I\'m using three different NSFetchedResultsController to fetch data records from my sqlite database. One of them is giving me a hard time, when tested on a device (iOS 3.1.3). Running it in the simula[详细]
2023-02-05 23:50 分类:问答How to use binary flags in Core Data?
I have an int32 attribute in a Core Data database. I use this int as an enum bit field. Is it possible to create a NSPredicate to query items based on the binary[详细]
2023-02-05 16:55 分类:问答NSFetchedResultsController depth of fetchedObjects
I have a strange problem here and I want to know, if its related to the lazy loading function. I do a fetch on my categories. Imagine they have subcategories and these have subsubcategories also. the[详细]
2023-02-04 01:26 分类:问答TableView doesnt show any Data(CoreData) - App crashe
i cant read my data from my database. I have an app with a tabbarcontroller. in the first tab the iphone camera takes a picture from a barcode and send the result to another view (CameraReturnDetailVi[详细]
2023-02-03 05:00 分类:问答How to make sequential filters with NSFetchedResultsController
I want to make sequential filters using NSFetchedResultsController. The goal is to display the more relevant results first.[详细]
2023-02-02 01:27 分类:问答Speed up Core Data fetching
This is on iOS. I have a Core Database with about 350 000 objects. The objects (Product) have two properties: \"Barcode\" and \"Designation\". The user can search for an object by searching for the \[详细]
2023-01-30 12:59 分类:问答Expression for function count in NSFetchRequest returns one less than regular fetch
In my first attempt at using NSExpression in a fetch request, I’m getting a result that is consistently one off from 开发者_开发技巧what I get if I use a regular fetch request.[详细]
2023-01-29 23:08 分类:问答-[NSCFNumber count]: unrecognized selector
I\'ve got some Core Data code that follows Apple\'s sample code precisely (the Fetching Attribute Values that Satisfy a Given Function example). I\'m using it to get the max value of a field, so I can[详细]
2023-01-29 17:01 分类:问答