Matt Massicotte on Nostr: Using actors with NSObject-inheriting protocols is quite tricky. I'm not sure I'd ...
Published at
2024-03-10 13:12:20Event JSON
{
"id": "12c79a477ff0775d3d671f02ddd813791fdb66219e858536ce7f2e30e60c53bf",
"pubkey": "326c9100a3d1f1ecd0d35bf9590b2633e6c22a25debb08aac79d5af903bd8672",
"created_at": 1710072740,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/mattiem/statuses/112071327120429898",
"activitypub"
]
],
"content": "Using actors with NSObject-inheriting protocols is quite tricky. I'm not sure I'd recommend it, but I came up with a solution that at least works in a common case.\n\nhttps://github.com/mattmassicotte/ConcurrencyRecipes/blob/main/Recipes/Protocols.md#non-isolated-nsobjectprotocol-inheriting-protocol",
"sig": "418c784e20380ec738f83031ef381d430b1219cf0208505a8782b79a0073e5ad968771f7a74a167559c7ebdf885a4581391a0ffaf1b1df029018f3a2947d6b31"
}