For all of its strengths and overall convenience, one downside of Swift’s built-in Codable API is that it doesn’t really offer any standard way to change or otherwise customize how a given type should be encoded or decoded. While we can always write completely custom coding implementations for the types that we’ve defined ourselves, when […]
There’s no reason to miss out on the growing number of MagSafe accessories just because you don’t have an iPhone 12. Place the inexpensive Elago MagSafe Guide Sticker on the back of your handset and magnetic chargers will cling to the device. Elago can retrofit MagSafe onto your iPhone or Android MagSafe is an improved […]
Swift 5.5’s new suite of concurrency features definitely played a major role at this year’s edition of WWDC. Particularly, the newly introduced async/await pattern could not just be seen in the more Swift-focused sessions and announcements, but all over the new APIs and features that were unveiled at the conference. While async/await is very likely […]
I recently watched a documentary about Bill Gates on Netflix and the thing that stuck with me the most from it was that he didn’t become one of the wealthiest people in the world through luck or inheriting huge sums of money. He literally reads like 8 books while traveling, he can read 150 pages […]
2021-06-17 • Márton Braun So, I got tired of writing code like this. requireArguments().getString(“user_id”)!! And seeing others have to write code like this: val channelType: String = inputData.getString(DATA_CHANNEL_TYPE)!! val channelId: String = inputData.getString(DATA_CHANNEL_ID)!! val messageId: String = inputData.getString(DATA_MESSAGE_ID)!! So I created requireKTX. What does it do? It adds extensions so that the code above becomes […]
Feedback, in whichever form it takes, and whatever it may be called, is one of the most effective soft skills that we have at our disposal to collaboratively get our designs to a better place while growing our own skills and perspectives. Article Continues Below Feedback is also one of the most underestimated tools, and […]
Apple’s 512GB M1 MacBook Air has returned to its all-time low price of $1,149.00, down from $1,249.00. This sale is available on Amazon, and only for the Gold color option. Stock appears to be low, although Amazon sometimes has more in stock than is reflected on the website. Note: MacRumors is an affiliate partner with […]
Originally published on the Just Eat Takeaway Engineering Blog. We have presented our modular iOS architecture in a previous article and I gave a talk at Swift Heroes 2020 about it. In this article, we’ll analyse the challenges we faced to have the modular architecture integrated with our CI pipelines and the reasoning behind migrating […]
New in Swift 5.5: The compiler can now automatically perform conversions between Double and CGFloat values. Although the two have always been equivalent on 64-bit systems, before Swift 5.5 (which is currently in beta as part of Xcode 13), we had to manually convert between them in order to satisfy Swift’s type system — since […]
At Amazon today you can get Apple’s 13-inch M1 MacBook Pro (512GB) for $1,299.99, down from $1,499.00 on Amazon. You’ll see this price at the checkout screen after an automatic coupon worth $50 is applied. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we may receive […]