Have you ever seen “preachings” like these in the wild west of Twitter, Medium, and LinkedIn? “If you’re not using X in 2023 you’re an idiot!” “XYZ architecture is the only way to go!” “Doing X in Swift? Stop immediately!” Humans’ obsession with dividing things into groups is not unknown to psychology. The ability to […]
ChatGPT has become an important part of my daily software engineering work, so I thought it would be interesting to share what exactly I’ve been using it for in case you’re wondering how to use it to improve your productivity. Use-case 1: I don’t know what I’m looking for I find that Google tends to […]
async/await in Swift was introduced with iOS 15, and I would guess that at this point you probably already know how to use it. But have you ever wondered how async/await works internally? Or maybe why it looks and behaves the way it does, or even why was it even introduced in the first place? […]
Performance problems can be rare in this era of blazing-fast iPhones, but chances are you’re still having to deal with them every once in a while. Classic performance issues such as scroll hitches are still very easy to introduce if you’re not careful about them, and when it happens, you’ll want to be properly equipped […]
If you landed at this article then it’s possible that you’re dealing with one of the most annoying things you can face as a developer: having to investigate an issue reported by your users that nobody seems to be able to reproduce internally. The topic of investigating crashes you can’t reproduce is something I’ve already […]
I had played with SwiftUI sporadically in the past, but it wasn’t until now that I had built a complete App Store-ready app with it. When SwiftUI was first announced I was very concerned about certain quirks of the framework and how it was probably not suitable for professional iOS development, but with the framework […]
Mac apps built with Xcode 14.0 and 14.0.1 may contain concurrency bugs because the Swift 5.7 compiler can generate invalid code when targeting the macOS 12.3 SDK. If you distribute Mac apps, you should build them with Xcode 13.4.1 until Xcode 14.1 is released. Hereโs what happened: Swift 5.7 implements SE-0338: Clarify the Execution of […]
The concept of Type Erasure is not new to Swift, but was radically improved in Swift 5.7 with the addition of the any prefix keyword (not to be confused with the capitalized Any type!) and improvements to the already existing some Opaque Type keyword. In this article, we’ll explain the concept of type erasure, how […]
Imagine that you’re a developer in a large company working to solve a high-profile architectural problem in an app. Your team has compiled all of the company’s use-cases within that particular problem and developed a framework that solves not only all of those use-cases but also some additional ones that you’re expecting developers will need […]
I had to leave my gaming computer behind when I moved to another country and have ever since felt an empty spot in my life. I watched many interesting games get released as the years went by, but I didn’t feel it was enough justification to buy a gigantic gaming desktop again as I don’t […]