RSSAmplifier

Blog

Khan's Blog

Khan's Online Web Log (aka: my blog)!

khanwinter.comRSS feed ↗19 posts

Latest posts

Localization in Swift Packages

Extending Xcode's symbol generation to Swift Package consumers.

OpenBudget Dev Log - Part 1

Working on the design of the new Home Screen, colors, and goals for the rework.

Using OpenType Attributes with UIFont

Fonts come with numerous style settings that are difficult to use in UIKit and AppKit. Learn how to determine which ones are available, and how to use them.

Cross Compiling Swift

There are multiple ways to cross-compile Swift on different platforms. I explored a few methods while building a Discord bot and a Bluesky bot.

New Blog, New Me

I redesigned my blog, in Swift.

Hide Desktop macOS Shortcut

A quick Automator script I use almost daily to toggle my desktop contents. Updated for desktop widgets.

Sort a List of Objects

Learn how to store a sort order on a list of items saved in a database.

Implementing Sin(x)

We have a basic sin function, now we need to calculate more than π/2, and do it fast.

How Computers Calculate Sine

Sine is infinite, so how can a computer calculate an infinite function?

The Search Engine Matrix

One way search engines like google rank page poplarity using matrices.

Save Codable Dates In Firestore

Avoid JSON decoding errors when using Dates with Firestore and Codable.

Scripting With Swift

Make fast, simple scripts with my favorite language.

Programatic UI in UIKit without Storyboards

Use simple functions and layout anchors to create a simple UI without storyboards.

Getting Started With Vapor 4.0

Building a small Toggl Clone using Vapor.

Save Arrays of Objects in Realm

Create a mapping field on a realm object to easily save and retrieve arrays of anything from a realm object.

Subclassing Sprites in SpriteKit

Subclass a SKSpriteNode to make multiple types of the same sprite to save time and energy.

Using Dependencies in Swift Scripts

Use swift-sh to import any SPM module into your scripts.

Easy Container Controllers in Swift

Create a container controller to separate and simplify your UIKit views.

Firebase Auth State Listeners iOS

Receive notification when firebase users auth state changes on iOS.