NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>
Multiple variadic parameters, improved implicit member syntax, result builders, and more!
Multiple trailing closures, massive package manager improvements, and more.
Key path expressions as functions, callAsFunction, and more
Power, flexibility, and encapsulation all rolled into one
Opaque return types, implicit returns, universal self, and more
Strings get a massive power up in Swift 5.0.
firstIndex(of:) is here to stay.
Control how types look in strings, or create them from scratch.
What are the pound signs around strings for?
Clear up any ambiguity and get typed errors too
…and it could break your code.
Swift 5.0 introduces a new way to work with dynamic languages
Raw strings, future enum cases, compactMapValues(), and more!
The new implementation is faster, simpler, and more secure too.
Enum case arrays, warning and compiler directives, and more!
See the code, run the code, edit the code
New syntax, methods, compiler directives, and more!
SE-0195 has been approved, so here’s a guide to get you started.
Synthesized equatable, conditional conformance, and more!
A Google engineer is working to remove more drudgery from Swift.
You are not logged in
Link copied to your pasteboard.