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.
I enjoyed this article from @elwexicano. It’s a good reminder that when designing apps, you shouldn’t focus solely on designing for those happy-day states where your app is fully populated but also for the alternative states such as when the app has no data, data is loading, or something has gone wrong. Worth thinking about.
You’ll probably be familiar with using Foundation’s
NSCoding protocol for the encoding and decoding of structured data. @jordanmorgan10 takes this one step further with a look at it’s less well-known sibling
NSSecureCoding and how you can use it to encode and decode data in a more secure fashion. The good news is that it takes very little work to switch over.
@fjtrujy shows you how to separate your view configuration from your views themselves through the use of View Decorators a great way to simplify your views, increasing their reusability and reducing the overall amount of code you need to write.
If you’ve not added a continuous integration system to your development workflow you really should – it’s an absolute game changer for ensuring that your app behaves as expected and for ensuring nasty bugs don’t creep in in future. In this article, @mataharimau shows you how to setup a system of your own, integrating GitHub, Fastlane and Jenkins (or Travis CI – she covers both) to automatically build and test your code on check in.
The ever popular RxSwift has reached version 5.0 this week and whilst mostly backwards compatible this new release also includes a bunch of new improvements including the break out of Relays into a new framework RxRelay. To mark the occasion @freak4pc had posted a new article running through all the changes.
For any spare moments you’ve got this week, then look no further than this great set of talks from this years App Builders conference. As last year, there’s a wide range of talks from some great speakers so definitely worth checking out.
I learnt something this week. A short, but useful, tip from @buildthatapp on how using Xcode’s media selector to speed up the selection of your image literals. Why is it after all these years I never knew this existed? 🤯
Hunting for links for Swift Developments I read my fair share of technical blogs. They’re a great way to share what you’re working on, learn new things and generally get involved in the community. If you’re looking to start a blog of your own, @ashfurrow has published an article with some great tips on how to write technical articles for the web. You never know, it might even lead to a future appearance in Swift Developments as well! 🤩