UIDraw is an open-source SwiftUI app that uses Apple’s PencilKit/PKCanvasView and OpenAI’s GPT-4 Vision model to convert your drawings into a web app.
It provides a quick way to visualize and test UI concepts without coding. The AI handles converting your freehand drawings into basic HTML markup and CSS styling.
How to use it:
1. Visit the UIDrawt GitHub repository to download the source code.
2. Remember to replace your own OpenAI API key. This key is crucial for the app to access GPT-4 Vision and function correctly.
3. Draw your app’s interface using your finger or Apple Pencil. UIDrawt’s smarts automatically convert your strokes into HTML.