Boris wrote:
> I have data that l fetch only once for all sessions on Application level.
> In order to fetch it I create new EOEditingContext. As a result
> all objects will be stored on Application level inside of created
> EditingContext.
>
Do you actually need to use EOs? Or are you just wanting to use these
objects "statically" (as your intro implies)? If the latter, and you don't
need to refer to any relationships, perhaps you could get away with simply
reading the data as raw rows into NSDictionaries? e.g.
NSArray appData = EOUtilities.rawRowsWithQualifierFormat(...);
If you do need some custom behaviour, then you could implement a constructor
method for your class:
public MyClass (NSDictionary aDict) {
ivar1 = aDict.objectForKey("ivar1");
...
}
?
Best wishes,
mmalc.