[swift-evolution] [Review] SE-0160: Limiting @objc inference
Hooman Mehr
hooman at mac.com
Wed Mar 29 17:14:12 CDT 2017
> On Mar 29, 2017, at 3:00 PM, Douglas Gregor via swift-evolution <swift-evolution at swift.org> wrote:
>
>
> * @implicitobjc added to a class implicitly makes members of that class *and all of its subclasses* @objc if they can be exposed to Objective-C
> * @implicitobjc added to a class extension makes members of that class extension @objc if they can be exposed to Objective-C
>
> This is a more elegant way to handle the XCTestCase issue—we can mark XCTestCase as @implicitobjc through some Clang-side attribute or API note—and makes it easy for class hierarchies that rely heavily on the Objective-C runtime to continue to get @objc inference.
+1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170329/5d1af71a/attachment.html>
More information about the swift-evolution
mailing list