|
Sadly, this amazing website hasnβt seen any new content since WWDC 2020β¦ But trust me, even if it is a few years old, it is still an absolute gold mine of knowledge for any iOS developer. Regardless of how much experience you have, Iβm sure you will learn something new if you starting browsing the many articles available on NSHipster π So to help you get started, I wanted to share with you a few articles that I think any iOS developer would find useful! Iβm sure youβve already encountered these two type as you were writing Swift code. But do you really know what makes them special? These two articles will deep dive into why Void and Never are such a fundamental part of Swiftβs type system. You might have noticed that Swift takes error handling quite seriously. So much so that the language actually has quite a few different mechanisms to propagate and handle errors! This article goes over all these mechanisms and, more importantly, explains their differences and why they all came to be. Maybe youβve heard people talk of βmethod swizzlingβ but youβre not really sure what it means. For the short version: swizzling is essentially dark iOS magic, that allows to replace at runtime the implementation of a method π€― For the long version, this article will explain in details how swizzling is actually possible, what can be achieved with it and why it is a tool that must be handled with a lot of caution. This last one isnβt about iOS, but if youβre an Apple user, Iβm sure you will enjoy the topic! You might remember that macOS Mojave introduced a pretty cool feature: dynamic wallpapers that adapt to the time. You might have also wondered how these wallpapers actually worked under-the-hood! Well guess what? It is precisely the topic of this bonus article π
|