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!
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
Add a bottom divider to your SwiftUI view! Where we learn to look around thoroughly before blindly trusting strangers.
Give your UIViews and UIButtons some rounded edges and a shadow! Somehow, making a button rounded, and then adding a shadow to it, seems to be more difficult than it should. Here's how to do it in Swift!
Memoize your API calls in Swift using functions' scopes! Improve your iOS app's performance and battery usage by not repeating expensive computation and network calls, using memoization, in Swift!