Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift.
Business
What to Expect From Marzipan
With excitement starting to grow for the potential announcements at this years WWDC, @chockenberry looks ahead at what we might expect from Marzipan – not on the technical side, but more on how it will affect product development, design and marketing. It’s a good read.
iconfactory.com
Swift
How To Use Opaque Return Types in Swift 5.1
Swift luminary @twostraws has been busy again this week with not only an update to his article summarizing what’s new in Swift 5.1 but also this more detailed article, looking at how to use Swift 5’s new Opaque Return Types. As ever, it’s a great read.
hackingwithswift.com
Pure Functions in Swift
Whilst pure functions – functions that produce no side effects and don’t rely on external state – may seem like a more theoretical topic than a practical one, this weeks article, from @johnsundell may well change your mind.
swiftbysundell.com
Express Impossible Code in Swift with Never
On the face of it, RxSwift’s Never
type may seem similar to either Void
or NSNull
but as @guptron illustrates in this article, Never
represents a different concept and one that can be particularly useful when working with generics.
medium.com
Code
UIButton: Padding Between Image and Text
The title of this article belies it’s complexity. @noahsark769 dives into the suprisingly complex world of edgeInsets
and intrinsicContentSize
.
noahgilmore.com
Swift For Tensor Flow – Model Training Walkthrough
Maybe it was due to the fact that Google I/O 2019 was on this week but I spent a bit of time this week getting up the learning curve with Tensor Flow for Swift. Although I’m by no means a TensorFlow expert (at least not yet ?) I did enjoy this walk-though which shows you how to build your own image classification model.
tensorflow.org
Download Files Sequentially Using URLSession Inside OperationQueue
@soulchildpls illustrates some of the power of NSOperation
with this tutorial showing you how to write your own custom NSOperation
subclass to download files sequentially using URLSession
.
fluffy.es
Videos
How To Create a Bar Chart in Swift
Previous Swift Developments sponsor Macaw got some love this week with @seanallen_dev using his latest video to show you how to use the Macaw framework to create an animated bar chart.
youtube.com
Finally
Swiftenstein
I vividly remember playing this first time around! Great work from @nicklockwood bringing back one of the classics.
github.com