Both accessors calling each other


#1

Hi,
I just don’t see how or why set holder calls addAsset and so on…
Can someone please explain the relationship.
Thanks

-(void)addAsset:(BNRAsset *)a
{
// Is assets nil?
if (!_assets) {
// Create the array
_assets = [[NSMutableArray alloc] init];
}
[_assets addObject:a];
a.holder = self;
// In this example set holder w
}