I have a couple of ideas regarding the API of ObjectiveCBridgeable. My general 
thought is to improve upon the existing _ObjectiveCBridgeable protocol, not 
just make it public. The main idea would be to make it more "Swifty" by:

1. Removing inout arguments which look like implementation artifacts and 
converting them into return values
2. Converting static functions to initializers
3. Removing isBridgedToObjectiveC() method since it doesn't introduce any 
useful information

Doug, I know that some API design decisions were made due to runtime 
performance convenience, therefore I'd like your opinion on that before I go on 
with detailed design.


Pozdrawiam – Regards,
Adrian Kashivskyy

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to