Questions tagged [fetched-properties]

5 questions
3
votes
2 answers

How to define a Fetched Property in an NSManagedObject Subclass

In a project I am working on, we have multiple persistent stores and fetched properties are defined on the Entities to provide access to the objects that live in the different stores. When I run Editor -> Create NSManagedObject Subclass, the…
Unome
  • 6,750
  • 7
  • 45
  • 87
0
votes
1 answer

CoreData Fetched Property referring to a different entity

I have a CoreData Entity named List it has a Relationship to an Entity Address. This is a one-to-many relationship seeing as an Address can be only be one List. Address entities have an Attribute flag which is an Integer 16. Is there a way for me…
Joseph
  • 9,171
  • 8
  • 41
  • 67
0
votes
1 answer

Complying with iOS Data Storage Guidelines (2.23) when shipping with default data

I did some research and understand the basic issue. My question here is on strategy. Background: I submitted an app designed to help soccer coaches manage their lineups. It got rejected for reason 2.23: On launch, it creates default core data…
Henry95
  • 623
  • 6
  • 16
0
votes
1 answer

xcdatamodeld changes not reflected in built app?

I have been struggling to get fetched properties working correctly in my app and have been finding it extremely confusing - mainly due to this strange issue I have finally figured out! Basically if I change the Predicate on a Fetched Property in my…
trapper
  • 11,716
  • 7
  • 38
  • 82
-4
votes
2 answers

When to use fetch property in the core data with example in a cross-store scenario

I am facing same problem as here How to achieve relationships between entity in one store with other? Kindly guide me through this.
Prasad_R
  • 557
  • 2
  • 11