[swift-evolution] [Idea] ObjectiveCBridgeable
adrian.kashivskyy at me.com
Thu Mar 17 02:04:10 CDT 2016
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution