Blog

My corner of the internet to share what I’m working on, what I’m figuring out, and whatever I happen to be obsessed with at the moment.

Creating the scratch card effect in SwiftUI

Creating the scratch card effect in SwiftUI

The idea for this view came when I was going through Azam Sharp's video on drawing in SwiftUI using the `Canvas` view. I wondered if one could apply the strokes using the DragGesture to a view, it would somewhat replicate the scratch card effect that is normally seen in modern iOS applications

Creating a playing card loading animation in SwiftUI

Creating a playing card loading animation in SwiftUI

The idea for this animation was a gif I had seen on the now defunct gfycat website when looking for inspiration for creating a loading view for a personal project I'd been working on.

Drawing the Swift logo bird in SwiftUI

Drawing the Swift logo bird in SwiftUI

I decided to get the official logo than simply Googling for an image since you find so many variations online.

Setting up Google Domains for static GitHub websites in 2023

Setting up Google Domains for static GitHub websites in 2023

In the last post we learnt how you can create a static website using the GitHub Pages feature and apply themes to it using jekyll themes.

Fixing pull request creation in Sourcetree

Fixing pull request creation in Sourcetree

I recently had to setup a new machine & realised that I was not able to create pull requests from branches in Sourcetree. Turns out in the newest version 4.2.4(254) for Mac the `Host Type` is not automatically set

UIActivityViewController usage in iOS

UIActivityViewController usage in iOS

Sharing content from your app across the system is made simple using the `UIActivityViewController` class on iOS.

Create a website with GitHub & jekyll in 2023

Create a website with GitHub & jekyll in 2023

If you have a GitHub account, you can create a static website using the GitHub Pages feature.