Unwrapping Any, in Swift If Any is not nil, except when it is, how do we check it and unwrap the underlying?
SPM, Github, internal dependencies & SSH auth Ever tried using Swift Package Manager with dependencies hosted on Github while using SSH? And resolving subdependencies when adding a SPM package through Xcode? Still having nightmare about it? Dry your tears and cry no more: you've come to the right place.
Types are nice: recursive types, in Swift What's a recursive type, what is it useful for, and how can we implement and use one in Swift? Let's find out!
Fooling around with masks & shadows in SwiftUI Dive into the technical world of SwiftUI where masks meet shadows. Learn how to creatively manipulate visual elements for stunning interfaces with our comprehensive tutorial, featuring easy-to-follow examples
Halt and Catch Fire: A SwiftUI @StateObject counterexample Learn how to avoid some trivial SwiftUI state management pitfalls from a dead-simple counterexample of misusing @ObservedObject in SwiftUI
Conditionally debounce value updates, in Swift Improve your iOS app's performance and enhance your users' experience by learning how to conditionally debounce events. Also, it's a panacea that solves everything. Ok, almost everything. Depending on how you look at it.
Convert between image (pixels) and scaleAspectFit UIImageView coordinates like a champ! When working with images in iOS, it's sometimes necessary to convert between an image's pixel coordinates and the coordinates of the UIImageView that displays the image. Here's how to do it.