Menu

Note May 14, 2024

Today, on a lark, I uploaded a screenshot of an iOS app design from Figma to ChatGPT along with the following prompt:

Here is a screenshot from an iOS application. Please reply with SwiftUI code that would build the interface shown in the image.

I pasted the output, verbatim, into an iOS playground, and it worked. It wasn’t perfect, but it got me to about 80% in under a minute instead of an hour. I can’t share the design here, but the view contained multiple horizontally scrolling swimlanes stacked vertically, a static block of text beneath them, a navigation bar, and two buttons (with the correct SF Symbol icons!) pinned to the right edge.