David Bureš on Nostr: The next item on my wishlist for SwiftUI on macOS: a way to show an alternative ...
The next item on my wishlist for SwiftUI on macOS: a way to show an alternative function for buttons when holding Alt.
Could be something like:
Button {
} label: {
}
.alternativeAction {
(Another Button here)
}
#swiftui #macOSdev
Published at
2023-11-27 16:34:19Event JSON
{
"id": "e28d12bef8a150ee36bca6ca0c6b5897011be86e5b0093fd6d0780c69e1ea289",
"pubkey": "17ca545e6a302644a7898dc6862e512bb987c80b13d07bf3f5c2448e24db9b5f",
"created_at": 1701102859,
"kind": 1,
"tags": [
[
"t",
"macOSDev"
],
[
"t",
"SwiftUI"
],
[
"proxy",
"https://mstdn.social/users/davidbures/statuses/111483477023283877",
"activitypub"
]
],
"content": "The next item on my wishlist for SwiftUI on macOS: a way to show an alternative function for buttons when holding Alt.\n\nCould be something like:\nButton {\n} label: {\n}\n.alternativeAction {\n(Another Button here)\n}\n\n#swiftui #macOSdev",
"sig": "d80ab26e6b3bed16d4d03d0d0b5304c40eb8e8b82627ef700807271cc6823b366182dd10a05f39e804feb253bc3a798c31e222adf65f1f39a4700feeb09b5809"
}