Today, it's not clear if PlatformLayer is a thing or a pointer to that thing. We should change all occurrences to PlatformLayerRef to make it clear it is a pointer to the thing. Then we would define it as (on Mac for instance): typedef CALayer* PlatformLayerRef