iPhone , core data, whether NSManagedObject use lazy load mechanism when it was create ?
- by Robin
Hi, all,
I have use core data in app, I have definite a class that most like as follows:
@interface Master : NSManagedObject {
}
@property (nonatomic, retain) NSSet* Details;
....
the entity Master contains a property 'Details' that is relate to another table, this is typical Master-Details relationship, I trace the app , but I find a issue that the property 'Details' value was construct even it never be invoked .....
but I consider that the core data 'should' use some lazy mechanism to improve performance,
or maybe I miss some configure step ? because the Master entity contains at least five 'Child' table properties , I have to consider this problem before use the core data ....
any help ? thanks for your time!