Those of us who have written Java code before probably know what the builder pattern is. And those of us who dislike Java as much as I do are probably confused why you would want builders in Swift.
But, as with most things, it heavily depends on the context. And…
What’s wrong (and not) about this year’s betas from Apple.…
Swift 4 [https://swift.org/blog/swift-4-0-released/], amongst other things,
brought a way to serialize/deserialize data into/from model objects called
Codable. Those changes were proposed under SE-0166
[https://github.com/apple/swift-evolution/blob/master/proposals/0166-swift-archival-serialization.md]
.
I'm not going to elaborate on how Codable works…
Together with iOS 10, watchOS 3 and Xcode 8 Swift 3 made its way into the
public. Of course there were betas of Xcode (and with it Swift 3) before the
public release. And of course I was playing around with them, too.
While more and more projects are converted…
tl;dr; Swift is awesome, but there are still many bugs for Apple to fix.
What is Swift?
Swift is the new programming language Apple introduced at the last WWDC in 2014
alongside iOS 8. When I first heard about it a the keynote I was quite sceptic.
Why? Because…