[swift-evolution] [Proposal] Make optional protocol methods first class citizens

Yuval Tal yuvalt at pblc.co
Wed Mar 30 09:08:26 CDT 2016


I find that optional protocol methods to be very useful. However, there is
a caveat -- it needs to be mapped to @objc. This puts a set of limitations,
such as: structures cannot be used as parameters as it does not map to
objective-c. What do you think about removing the requirement of using
@objc and allow to create optional methods without these limitations?

Thank you,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160330/ab60be88/attachment.html>

More information about the swift-evolution mailing list