Category: Swift
-
SwiftUI vs React Native: Managing Application State
In the previous articles in this series, we’ve looked at how SwiftUI and React Native manage state, pass it between views and components, and make it accessible throughout an application. So far,…
-
SwiftUI vs React Native: Environment vs Context
In a previous article, SwiftUI vs React Native: State, we looked at how the two frameworks manage local state. We then followed up with a look at Binding vs Props, exploring how a parent…
-
SwiftUI vs React Native: Binding vs Props
SwiftUI vs React Native: Binding vs Props Following on from my previous article comparing SwiftUI and React Native, I want to look at another interesting difference between the two frameworks. In the…
-
SwiftUI vs React Native: State
If you’ve spent time developing apps with SwiftUI, one of the first things you’ll notice when moving to React Native is that many of the concepts are surprisingly familiar. Both frameworks use…
-
Converting Your iOS Application to Android: Part 2
This post was originally posted on Sentry.io, link here. In my previous article, we looked at reasons for converting your iOS application to Android, and things you’ll want to consider when porting your application…
-
Converting Your iOS Application to Android: Part 1
For anyone who noticed – I’ve been quite quiet on the blog front for a couple of years – one reason is I’ve become a father! It turns out being a dad…
-
Holy cow – You can preview UIKit code live in Xcode!
Now that SwiftUI is feeling more and more established since WWDC 2020, I’m in the process of getting properly acquainted with it. In my exploring I discovered something actually more relevant to…
-
Tiling a background image – sans code!
I recently wrote an article on a simple custom UIView class you can use to tile an image. Unfortunately – this doesn’t help us in a LaunchScreen, where custom classes are not…
-
Tiled background image in custom UIView class
Sometimes you need a repeated or tiled image in your app, often for a background. Something like these rain-drops for example: Here’s a simple UIView subclass that accepts an image parameter, and…








