[swift-users] What is up with names not being Strings any more in Swift 4?

Manfred Schubert dev at schubert-it.com
Mon Jul 17 11:48:04 CDT 2017


> Am 17.07.2017 um 18:12 schrieb Joe Groff <jgroff at apple.com>:
> 
> If you want to ensure that the string value corresponds to a declaration, maybe you could use #keyPath, which ought to be interchangeable with a string literal but checked by the compiler.

Excellent. Thanks a lot!


Manfred


More information about the swift-users mailing list