Making a zoomable Image, in SwiftUI This should have been simple, but it wasn't. So if you too are having a hard time making a zoomable image in SwiftUI, come on in!
Preserve your images' transparency when saving and sharing them, in Swift Loosing your rounded corners or transparent background when saving an image to the user's photo library or sharing it with UIActivityViewController? It's because it's be turned into a JPEG. Here's how to solve that.
Build OpenCV Contrib as a .xcframework, for iOS, on a M1 We needed an OpenCV Contrib module in an iOS app, using Swift Package Manager. I thought the hardest part would be using OpenCV. How wrong I was.
Add a height-flexible placeholder to your UITextView Once you have tasted SwiftUI, this kind of UIKit lacking makes you wish you could refactor a client's whole codebase at a snap from your fingers. At least the UI side of it. But, alas, there is no magic spell for that. Yet. What kind of lacking? UITextView
Make your UIButtons come to life After giving our UIViews' both shadows AND rounded corners, today we will learn how to animate UIButtons and make them visually respond to our users' touch!
Getting the last two values from an RxSwift Observable I really can't remember why, but at some point I needed to get a RxSwift Observable's last two values, to compare them and decide what to do next.
Solve most of your Xcode problems through Cargo Cult If you are an iOS or macOS developper, you probably work with Xcode. And if you work with Xcode, you've most probably had some weird times where, suddenly, things just stopped working. Here's how to solve that