Craig Hockenberry on Nostr: The search to get SVG data into a SwiftUI Image is a wild one! Maybe I should use a ...
Published at
2024-07-18 20:59:52Event JSON
{
"id": "dd121bea325ec7305747da4c77c944f705ea2571aeee9a9507a321075361f91b",
"pubkey": "b80ee3ed6c49d4a14a792b76d4232c5683f5b41d084457b99e4772f6e8b38a4a",
"created_at": 1721336392,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/chockenberry/statuses/112809501796698737",
"activitypub"
]
],
"content": "The search to get SVG data into a SwiftUI Image is a wild one!\n\nMaybe I should use a web view?\n\nhttps://forums.developer.apple.com/forums/thread/113015?answerId=353053022#353053022\n\nOr a private framework?\n\nhttps://github.com/awasthi027/SVGImage/blob/master/SVGImage.swift#L52\n\nOr maybe some 14 year old Objective-C code?\n\nhttps://github.com/splashdust/SVGQuartzRenderer\n\nAnd the most modern code doesn't support SwiftUI…\n\nhttps://github.com/mchoe/SwiftSVG\n\nApple folks, it's beyond time to give SwiftUI the same capabilities as the web.",
"sig": "60298d2c69d95f4f618ac7c28b7e34c5ed39ad40178310ef606e95d4901a18df9bed4f37b7fa0aafcaaead2c195ce5d4fa05f02e88652c27932c97d78ac10492"
}