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.
Releasing a new project can often be risky and one of the biggest sources of that risk is the assumptions we make during design and development. The sad thing is though, that these assumptions can often wrong. @chrlomholt shows you how to reduce the risk with a more structured approach to your development process – hypothesis driven design.
Remote working positions have become increasingly prevalent in recent years. In this article, @mikeindustries provides some insights into the benefits and challenges of remote positions.
As the opening sentence in this article explains: – “There are times to use toggle switches and times not to.” @uxmovement provides some insight into when you should, and shouldn’t be using switches in your designs.
Although you’ve most likely used Swift to build different apps there are times when building a full-blown app is a bit – well, ‘heavyweight’ – you might just want something quick and simple to automate something on our system. The good news is that Swift can be used for this as well! Learn how with this Swift scripting article from @rderik.
So you’ve been working on an RxSwift-based application for a while but this year Apple have announced Combine – their own take on a reactive programming framework. So where does this leave you? Should you switch? @kofse compares and contrasts the two frameworks and explores some of the options you have going forward.
Once you’ve got beyond the basics of the built-in Publishers and Subscribers in Combine you’ll soon find yourself wanting to create a custom publisher. On such example is this one from @danielctull which shows you how to build a custom publisher that takes inputs from an array of publishers and combines their outputs into a single result.
When learning iOS development – adding a button is almost the first thing you learn how to do and with SwiftUI set to fundamentally change how we develop UIs for Apple platforms, @simonng goes back to basics with this beginners guide on using buttons in SwiftUI.
One of the most fundamental changes in how SwiftUI works compared to say UIKit, is the way data flows through your application. This article from @Dimillian digs into these ideas, looking at property wrappers and the key protocols in SwiftUI and how they come together to help simplify the data flow within your app.
WireMock is a development tool that provides a local copy of the results of a remote API call. Get up to speed with this tutorial from @ski081 and learn how to use it WireMock in conjunction with your User Interface tests to test how your UI behaves with a range of different API responses.
If your regularly writing unit tests for your Swift code it won’t be long before you’re faced with having to unit test some code that behaves asynchronously. In this article, @V8tr explores some different techniques you can use to tackle this problem including mocking and using signals to reliably test those cases where mocking isn’t an option.
With SwiftPM getting first-class support at this years WWDC, @daveverwer has been hard at work with his new project – SwiftPM Library – a search engine to help with locating the ideal SwiftPM for your project. As ever, great job Dave! 👍
Whilst Xcode provides a nice wrapper around lldb with it’s debugging UI, for access to lldb’s most powerful features you still have to drop down to the command line. @rockthebruno does just that in this tutorial, showing you how to use lldb to modify your running Swift code on the fly.
As developers, we need to keep a lot of things in our head. What problem are we trying to solve? What does our design look like? How are we going to structure things? What are all the paths through the app? All of this takes focus – but focus can sometimes be difficult to achieve and maintain. @pakisha1989 looks at some techniques to quickly get into that state of ‘flow’ and how you can then preserve it.
Anatolii Kasianov with a collection of tips and best practices for building high-end, maintainable and robust iOS apps.