[swift-users] Trying to learn swift 3 renamification (as mattn calls it!)

Neil Faiman neil.swift at faiman.org
Thu Apr 21 18:47:44 CDT 2016


> On Apr 21, 2016, at 6:42 PM, Erica Sadun <erica at ericasadun.com> wrote:
> 
> 
>> On Apr 21, 2016, at 4:37 PM, Neil Faiman via swift-users <swift-users at swift.org> wrote:
>> 
>> 
>>> On Apr 21, 2016, at 5:50 PM, Charles Lane via swift-users <swift-users at swift.org> wrote:
>>> 
>>> Xcode wants to insert a comma between the words ‘with rect:’ for some reason.
>> 
>> Is that a two-word parameter “name”, or is it just a parameter with an external name “with” and an internal name “rect”?
>> 
> 
> It is the latter
> 
> — E

So that is Charles’s problem. He is trying to write draw(with rect: …) instead of draw(with: …).

Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160421/c6e13bde/attachment.html>


More information about the swift-users mailing list