I have an ARC class with the following code:
[object doStuffWithObject:otherObject];
object's -doStuffWithObject: method is compiled with ARC, and is this:
- (void)doStuffWithObject:(id)otherObject
{
DoStuffHelper(object, otherObject);
}
DoStuffHelper, a C function, is not compiled with ARC (for performance reasons). In DoStuffHelper, do I need to call -retain at the start for object and otherObject and -release for them at the end?