Why does listing CGImageRef for an object pointer not require memory management information (__bridge, etc.)? For example, if the image is of type UIImage *, and the layer is a layer under UIView, then the following line of code does not cause any complaints from the compiler:
layer.content = (id)[image CGImage];
Inept source
share