Swift

Swift: Don't use nested ternary operators
The ternary operator is a very handy notation to simply abbreviate if else constructs. And often it’s seen nested - one, two or three times. The compiler has no problems with such code. But we, as human beings, reach…

SwiftUI: Platform ViewModifier
SwiftUI is fantastic when you need to write code for different platforms. The code can be shared. But how do I distinguish platform-specific code parts?