[swift-evolution] Review: Import Objective-C Constants as Swift Types

Shawn Erickson shawnce at gmail.com
Fri Feb 19 14:10:16 CST 2016

> • What is your evaluation of the proposal?

 +1, it is a sensible approach to improve the interop of Objective-C code
and Swift. It also improves a general weakness/wart in
Cocoa/Foundation/etc. with the use of NSString (etc.) constants that are
not always obvious in their use domain. It not only improves Swift "import"
of ObjC API but also adds some clarity to the ObjC API itself when used

• Is the problem being addressed significant enough to warrant a change to
> Swift?

I believe so, yes.

> • Does this proposal fit well with the feel and direction of Swift?

Yes it fits well.

> • If you have used other languages or libraries with a similar feature,
> how do you feel that this proposal compares to those?


> • How much effort did you put into your review? A glance, a quick reading,
> or an in-depth study?

A careful reading of the proposal and quick spot review of various
Cocoa/etc. headers to understand the problem domain more fully.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160219/c416e636/attachment.html>

More information about the swift-evolution mailing list