Craig Hockenberry on Nostr: The search to get SVG data into a SwiftUI Image is a wild one! Maybe I should use a ...
The search to get SVG data into a SwiftUI Image is a wild one!
Maybe I should use a web view?
https://forums.developer.apple.com/forums/thread/113015?answerId=353053022#353053022
Or a private framework?
https://github.com/awasthi027/SVGImage/blob/master/SVGImage.swift#L52
Or maybe some 14 year old Objective-C code?
https://github.com/splashdust/SVGQuartzRenderer
And the most modern code doesn't support SwiftUI…
https://github.com/mchoe/SwiftSVG
Apple folks, it's beyond time to give SwiftUI the same capabilities as the web.
Maybe I should use a web view?
https://forums.developer.apple.com/forums/thread/113015?answerId=353053022#353053022
Or a private framework?
https://github.com/awasthi027/SVGImage/blob/master/SVGImage.swift#L52
Or maybe some 14 year old Objective-C code?
https://github.com/splashdust/SVGQuartzRenderer
And the most modern code doesn't support SwiftUI…
https://github.com/mchoe/SwiftSVG
Apple folks, it's beyond time to give SwiftUI the same capabilities as the web.