Blog

Series · 3 partsEnvelope Encryption with AWS KMS in Node.js
  1. Authenticated Encryption Using the Web Crypto API
  2. Generating DEKs with AWS KMS
  3. Encrypting and Decrypting Files

202230 posts

2 min read

Learning iOS and Swift · Day 24

Building a carousel using UIKit interop

Following Apple's SwiftUI tutorial, I explore the interoperability techniques used to embed SwiftUI components inside UIKit Controllers, and vice versa. The tutorial teaches how to build a carousel view, which I find pretty cool. I also learned how to overlay text and a gradient over an image.

2 min read
1 min read

Learning iOS and Swift · Day 23

Project update: saving data in settings view

I implemented saving data in the practice edit view. I found out how to programmatically return from a NavigationLink.

1 min read
3 min read

Learning iOS and Swift · Day 22

Generic input field, toolbar

I spent the whole evening going through tutorials and working on my side project, Ngöndro Tracker, leaving little time to post updates to the blog. Among others, I implemented a text field component with label, a helper to initialize colors from CSS hex strings, and began work on the view to edit practice settings.

3 min read
2 min read

Learning iOS and Swift · Day 21

Project update, Decodable protocol

Today I implemented persisting practice history each time the user adds some repetitions of a practice. I also implemented a simple view for presenting those records. I found out how to implement custom keys for Decodable data structures.

2 min read
2 min read

Learning iOS and Swift · Day 20

Apple's tutorial on Defense Against the Dark Arts

Following Apple's tutorial on graphics leaves me completely dumbfounded. Does it mean I will learn how to make stuff as pretty as Apple's native apps?

2 min read
3 min read

Learning iOS and Swift · Day 19

Adding custom amounts in Ngöndro Tracker

I implemented adding custom amounts of mantras or repetitions of practices to the Ngöndro Tracker using a wrapper for UIAlertController.

3 min read
3 min read

Learning iOS and Swift · Day 18

Project update, more on tutorial

After following two parts of Apple's SwiftUI tutorial, I made some improvements to the first iteration of my side project, Ngöndro Tracker.

3 min read
1 min read

Learning iOS and Swift · Day 17

Apple's tutorial

I found out some amazing SwiftUI tutorials from Apple, and they are free. I followed one along on the way to Cracow today.

1 min read
1 min read

Learning iOS and Swift · Day 16

Side project update

Today I spent the whole evening working on my pet project, Ngöndro Counter. Therefore, the blog post will consist solely of the project update.

1 min read
4 min read

Learning iOS and Swift · Day 14

More SQLite3 C APIs, dark mode detection

I spent another evening treading through SQLite's low-level C APIs. I integrated a very naïvely written data store built with these APIs into a simple iOS GUI app. Finally, I found out how to detect dark mode on macOS using Swift APIs.

4 min read
3 min read

Learning iOS and Swift · Day 13

Persistent storage APIs, SQLite3

I intended to write about @AppStorage and @SceneStorage, but I ended up playing around with SQLite3 in C and Swift.

3 min read
3 min read

Learning iOS and Swift · Day 12

Observable objects, environment objects

Describing observable objects, which act like event-driven data sources, and @EnvironmentObjects, which expose a given object to the entire view tree.

3 min read
4 min read

Learning iOS and Swift · Day 11

Essential state management, modals

Today I explore basic state management using @State, @Binding, and @Environment property wrappers.

4 min read
2 min read

Learning iOS and Swift · Day 10

Internationalization, round images

In today's post I introduce the basic techniques used to translate strings within SwiftUI applications. I also present a simple component with an image placed in a circle.

2 min read
3 min read

Learning iOS and Swift · Day 9

Neovim configuration, ExerciseView

Tips and tricks for synchronizing Xcode's keyboard shortcuts between devices, autoformatting Swift files in Neovim, and IntelliSense. Brief description of a prototype scene built along chapter 3 of SwiftUI Apprentice.

3 min read
3 min read

Learning iOS and Swift · Day 8

Starting off a SwiftUI app

Following a tutorial from a book, I build a TabView with custom components and several predefined views and components from the SwiftUI framework.

3 min read
3 min read

Learning iOS and Swift · Day 7

UIKit primitives, Hello SwiftUI

In this post, I explain why I wrote almost nothing in terms of code today and why I decided to switch from UIKit to SwiftUI.

3 min read
3 min read

Learning iOS and Swift · Day 6

Structs and classes

Briefly discussing structs and classes, with key differences, property and method declaration, and property observers.

3 min read
2 min read

Learning iOS and Swift · Day 5

Enums

Quick introduction to things you can do with Swift enumerations.

2 min read

More series

Learning iOS and Swift — 28 parts