[swift-evolution] [Draft proposal] Faster/lower-level external String initialization
moiseev at apple.com
Fri Jan 15 17:15:27 CST 2016
A quick note on usage of @available attribute in your code.
@available(*, deprecated, renamed="init(validatingCString:)”)
`renamed` provides a hint to XCode on how to actually rewrite the code in order for it to compile. It is quite unfortunate really that `renamed` accepts the syntax in a snippet above.
Please change `renamed` to `message`. Message will simply be displayed and expect some action from the developer.
> On Jan 14, 2016, at 6:02 PM, Zachary Waldowski via swift-evolution <swift-evolution at swift.org> wrote:
> In response to some recommendations from the Swift 3 plans, the proposed API has been made more comprehensive, and the proposal updated to fit.
> The proposal is now PR'ed:
> The code is still where it was before:
> Sent from my iPhone
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution