Yay, my first iPhone app

Launch

Originally posted on X

Yay, my first iPhone app, is finally live in the App Store today! ✨

I vibe-coded it myself (without knowing Swift!). It lets you transform photos with crazy AI filters. Download it here.

Yay turning photos into anime, a smiling portrait and a cartoon dog

I don’t know Swift, but I was able to almost completely vibe-code it with Cursor. It’s crazy how far LLMs have come. 🤯 We can now develop iPhone apps just by writing (or dictating) prompts.

Generative image models have come a long way too. I tried to do something similar in 2022, but the technology wasn’t quite ready yet. Today it is.

Some of the filters

Anime. The popular aesthetic that took the world by storm when OpenAI first released their new image model. Now available as a camera filter.

Advertisement. Turns a boring image into an advertisement with automatically generated text. You can get some very surprising results. Very fun filter.

Toy figure. Turn yourself, a friend, or even your pet into a toy figure.

Caricature. Photo-realistic caricatures. Works great on people and pets. Word of warning: not everyone likes to see a caricature of themselves. 😂

The details

I started building the app when OpenAI first introduced their new image model in March. I knew it was a big deal and wanted to have an app ready the moment they made the image model available to developers.

Although I got a decent prototype working within days, it wasn’t quite ready for release when OpenAI eventually did make the model available through their API. Turns out, with an iPhone app, the devil is in the details.

A lot of my time was spent figuring out state management within the app. Unlike web applications, where the state is only on the server, with a mobile app you want the data to be available locally as well. So you need to somehow keep both the server and the client up to date with each other.

I also ran into various race conditions, as iOS apps have different threads for code execution. I still don’t completely understand it, and this is where the LLM got confused too. Which is why I hired a contractor (@donnywals) to help me fix some bugs and refactor the important bits.

I don’t think hiring someone is absolutely necessary, but I think it combines well with vibe-coding for when you and the LLM get stuck. Often a more experienced developer can save you a ton of time solving very specific issues.

App Store review

Another big challenge was App Store review. Getting your app into the Apple App Store isn’t just a matter of building an app and uploading it somewhere. It has to be manually approved by Apple.

Turns out Apple has a ton of different rules you need to follow in order to get approved. While many rules make sense to protect users, others feel more arbitrary.

What makes it a very frustrating experience is that it can take a few days for them to review your app. Once they finally reject it, they give you a bunch of reasons. You fix these, re-submit, wait a few days, and now they reject it for other reasons. This makes it a VERY slow process.

The biggest change they required me to make was to remove user accounts. Yep, you heard that right.

Initially I had a “Sign in with Apple” button as part of the onboarding. I figured it would be a user-friendly and privacy-conscious option, but Apple insisted that my type of app should not require an account at all. I tried to argue that we want to give users the ability to access their photos on other devices, and that we need a way to stop people abusing our free credits for new users, but they disagreed. I had to remove it.

As you can imagine, removing the user account system after the fact was a lot of work. But fortunately the LLM had my back.

Then there are all kinds of random bugs, like sharing images to Telegram (my preferred messenger app) just not working. No error message, no logs, nothing. Possibly a bug with Telegram. Who knows.

Eventually, however, the app was good enough to launch. Until…

How Fade became Yay

Let’s rewind a little bit. I keep referring to the app as Yay, but this wasn’t supposed to be the app’s name.

When I started working on the app, I wanted a short name. Ideally a dictionary word (memorable), but not overly descriptive (brandable).

I happened to have bought the domain name fadeai.com a year before. I saw it available for a good price ($350) and bought it, figuring someday I might use it. Or sell it for a profit.

When I started building the app, I figured “Fade” would be a decent name, and this way I already had a good domain name in case I wanted to build a website for the app as well.

So Fade it was. I used it for the duration of development and testing, and even submitted the app to the App Store and got it approved. Fade was live in the App Store.

Then, last week, I was about to announce the launch. Until I got this email:

Afternic email: fadeai.com has sold for $9,000

Ehh, WTF? My domain name got sold? And automatically transferred away? Maximum F, as my friend @andreyazimov would say.

And then it hit me. I had put the name up for sale a few months before I started working on the app. I did remember to remove it from most marketplaces, but I must have forgotten to remove it from Afternic (GoDaddy’s marketplace). Afternic also has a handy feature called “Fast Transfer”, where it automatically transfers your domain name to the buyer without you needing to approve it.

Oops!

I hadn’t publicly announced the app yet, but some people were already using it. The app made API calls to the domain name, so losing it would break the app.

I wasn’t sure what to do. I first asked Afternic to revert the transfer, but they said it wasn’t possible.

I quickly registered a temporary domain name (fade-ai.com) and updated the app to use it for its API, etc. I was afraid it would take multiple days for Apple to approve this update, but much to my surprise they processed my request for an expedited review in a matter of hours. The updated app was pushed out to my users and a crisis was averted. Kudos to Apple for at least handling this part well.

I then talked to my friends about what to do next. Should I try to revert the transfer, or accept the sale and rebrand to something else? I wasn’t that attached to the name anyway (I learned that many people mistake it for “faith AI” when saying it out loud), and rebranding had its benefits.

We all agreed that I should just take the $9,000 and find a new brand and domain instead.

I knew I wanted something short and memorable, so I browsed Dan.com for available three-letter .cam domain names. I found yay.cam available for $550, and after some quick research to make sure there wasn’t already a camera app with a similar name, I chose Yay as the new name. I also got yay.camera just to be safe (.cam might be confused with .com, which unfortunately I don’t own, haha).

Why Yay? It’s short, memorable, and it sounds like a viral app to me. 😂 Something @nikitabier, famous for building viral iPhone apps, might call one of his apps, I thought. Let’s see if I can manifest it. 🤞

Shipping something real

Despite the challenges, it’s been a very rewarding experience so far. I have 20 years of experience building websites, but for some reason shipping an iPhone app feels more real.

I think it’s also the first time my parents are actively using one of my apps. I didn’t have to explain how the app worked. They just got it. Including purchasing credits using Apple’s in-app purchase system. 😄 I would have given them credits for free of course, but it’s a nice confirmation that the payment system is so low-friction.

I’m really curious to see where things go from here. Thank you to everyone who helped beta test the app! 🙏

Download Yay

Get early access to what I build next

Plus personal notes I don't share on X. I rarely email, so each one counts.