Example Project of how to use Metal Shader with SwiftUI
- Layer Effect
- Distortion Effect
- Color Effect
Please note that the .gif
files have low frame rate due to compression and accessibility of demo.
- Xcode (version 15.0 beta or later)
- iOS Deployment 17.0
- Swift 5.9
- Clone or download the project repository.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
- Hacking with swift by Paul Hudson
For any questions or inquiries, please contact Dayo Banjo on linkedin or Twitter .