Last updated: 12 days ago
Metal and SwiftUI are located on opposite side of complexity spectrum. It is not really obvious how to combine extremely low-level API with a declarative tool like SwiftUI. However not only it is totally possible, but actually can be a pleasure to deal with! Organizing GPU code into a maintainable and understandable code-base can be a bit of a challenge, but turns out to be pretty straightforward once you look at this problem from the right angle.
During the talk we will see how to build a simple photo-editor that can produce a Hollywood-class image filtering with extreme performance with UI being made with SwiftUI and Combine.