iPhone , core data, whether NSManagedObject use lazy load mechanism when it was create ?
Posted
by Robin
on Stack Overflow
See other posts from Stack Overflow
or by Robin
Published on 2010-03-21T17:06:10Z
Indexed on
2010/03/21
17:11 UTC
Read the original article
Hit count: 218
iphone
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!
© Stack Overflow or respective owner