iphone - setPropertiesToFetch doesn't seem to have any effect -


I am trying to use setPropertiesToFetch in my Fitch request to limit data received from my store, but It seems that there is no effect when I use it and display the returned item in the console, then I can see that all my properties are displayed in the same data whether I set the property or not In the form of relationship defects , But there is data for all the features.

  NSFetchRequest * fetchRequest = [[NSFetchRequest alloc] init]; NSEntityDescription * entity = [NSEntityDescription EntityForName: @ Managed object contexts in "Entity": context]; NSDictionary * entityProperties = [by unit properties]; [FetchRequest Set Entity: Entity]; [FetchRequest set FetchBatchSize: 20]; [FetchRequest set is included in the display: no]; [FetchRequestSetNone ObjectsAstust: No]; [FetchRequest setPropertiesToFetch: [NSArray arrayWithObjects: [Entityproperties ObjectForky: @ "MyAttrib"], Zero]];  

Fetch withdraws the same data with every object or without the last line. any idea?

I have an impression (what Apple engineers have said) was that as soon as you get the data For the use of accessories, mistakes can be made for non-acquired properties, that in order to generate the details of NSManagedObject, these accessories are being used for each property, due to which the description of the objects Data may be wrong before the string is ready She is

You can see the original data flaw and / or core data cache using the missed instrument (in the simulator) when the defect really happens. If they are correct before printing the managed objects, then it will raise my guess.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -