Profile avatar
cjrriley.com
Resilient Autistic that loves solving problems with Swift. Make the world more accessible. 🇨🇦 Currently working on ATProtoKit. #atdev (Profile pic drawn by kaylee_acnh on Twitter.)
3,060 posts 2,052 followers 252 following
Getting Started
Active Commenter

It’s coming to Toronto!? I wanna go!

This is one of the best - and most terrifying - images from my bird feeder. 😬

Surprisingly, I was able to go through the vast majority of the union enums: moved them to the appropriate structs, added the unknown case, tweaked the initializers to handle parsing to a dictionary containing CodableValue, and conformed them to ATUnionProtocol.

I feel like “Lexicon Generator” is a fairly long name to say. Also, I feel like “generator” might be long to say, too. Maybe… “ALexiconC”? Or perhaps“ATLexC”?

Working on the lexicon generator. It's progressing pretty far: I've been setting up more rules as to how it will transform with each method that wraps onto the OpenAPI generator's generated initializers. The general idea of how this would work is this (this isn't final, however):

Oh… so the union type migration and changes are going to take a pretty long time, given how tedious it is. Because of this, I will have to push back on converting the rest of ATProto until this is done, as I need time to do all of this.

I'm going to be changing how unions are handled in 0.29.0. 1. All union enums will now be inserted directly into the lexicon model. Originally, I was going to make them as extensions, but this would add a ton of code generation complexity and I don't have the bandwidth at the moment.

Swift supports WHAT!?!? 👀

Apparently, they killed Launchpad. 😔 I used that a lot. Like... *a lot*. I may as well create my own app that emulates this, then...