In the CBPerlArray implementation:
Objects included when the CBPerlArray is allocated are not retrained, and they are not released or autoreleased at deallocation.
Well this last point is internally consistent with itself but not with the behavior of the NSArray superclass.
But this is not consistent:
Objects added by -addObject: are retained.
Objects added by -insertObject:atIndex: are retained.
Objects replaced by -replaceObjectAtIndex:withObject: are not retained.
I consider CBPerlArray should have a behavior that mimic perfectly the NSArray behavior or the "tollfree bridging" becomes a nightmare.
By the way, did I tell you I really love CamelBones and just can't think of living without it.
Log in to post a comment.