Free iOS 18 Sample App

June 25, 2024 by Todd Hamilton

Building an AI Powered Color Palette Generator

After attending WWDC24 I was excited to try out some of the new SwiftUI features in iOS 18 so I built a simple color palette generator using OpenAI and AIProxy. It utilizes the new mesh gradient feature and a new Metal shader called Ripple.

The minimum deployment target for this sample app is 18.0, as it uses beta UI effects. You'll need to be on macOS Sonoma 14.5 or higher and have Xcode Beta 16.0 or higher. To download the source code and learn more head over to the GitHub repo. Enjoy!