Where and how to __bridge
The documentation on the use of the bridge keyword can be found here. Specifically, I want to point out ยง3.2.4: (__bridge T) op casts the operand to the destination type T. If T is a retainable object pointer type, then op must have a non-retainable pointer type. If T is a non-retainable pointer type, then … Read more