So, in object A, I have a property called "objectB" whose getter is overridden so that it returns a property (parentObject) of another object (element). There seems to be a point within my app wherein the objectB property getter returns nil, even though at that point parentObject is not nil. Here's the getter code:
Edit: Does it matter if the reference to object B is weak?
Edit: Does it matter if the reference to object B is weak?
Code:
-(ElementObject *)objectB
{
return [self.element parentObject];
}
Last edited: