seer on Nostr: It can be quirky, but for the most part is no different than SwiftUI for iOS. Just ...
It can be quirky, but for the most part is no different than SwiftUI for iOS. Just some slightly different apis. Rather than put a bunch of #if os(macOS) everywhere I have a separate entry point for macOS. A bit more code to write, but feels cleaner.
Published at
2024-07-24 14:23:36Event JSON
{
"id": "6ae01c24cb40ffc68dc1ac60453515b642e0d70b0f01dccf4bf308852de1a963",
"pubkey": "86723e843e3d05bb9b677ca056643ad1df9b601c7ac3dc1540d50ac6a56e6039",
"created_at": 1721831016,
"kind": 1,
"tags": [
[
"e",
"25975c63d4e503619f87303039db8b2c1fa3d1aeda3a491ebf58805972090340",
"",
"root"
],
[
"e",
"fc2d52b4053dd5d8eede65a032947ff1153e6770cfa387ac661a7fa0c853e604",
"wss://nostr.lorentz.is",
"reply"
],
[
"p",
"d0a1ffb8761b974cec4a3be8cbcb2e96a7090dcf465ffeac839aa4ca20c9a59e"
],
[
"t",
"if"
]
],
"content": "It can be quirky, but for the most part is no different than SwiftUI for iOS. Just some slightly different apis. Rather than put a bunch of #if os(macOS) everywhere I have a separate entry point for macOS. A bit more code to write, but feels cleaner.",
"sig": "25a9199446ef2089afe0d36b100120d0b30690456b0f0f691b54c319ab749d210c1172375c51975fd9a517b94e17c047f56ff1c2bc1d0de7c42210abe38a8f60"
}