Paul Haddad :tapbots_logo: on Nostr: A few people pointed out the Layout protocol, which is kind of a mix between UIKit's ...
A few people pointed out the Layout protocol, which is kind of a mix between UIKit's sizeThatFits and layoutSubviews with some sprinkled in (optional) layout caching stuff. It's got good enough hooks for what I need to do, with only a few ugly hacks.
Published at
2024-09-13 15:28:38Event JSON
{
"id": "a4f48c45c3deb7d6dbcf3adb6a842e8a1fc8fc29b883b4f3584267491d93f91c",
"pubkey": "05846076ae1cedb109de8aff60ad6fb03f0750669c8eaf2a16a30ca5b9a6dc70",
"created_at": 1726241318,
"kind": 1,
"tags": [
[
"e",
"45830b40b8a60cf6b3f3a5a61fd76d7b6751e6acada48c45c306191f3c76f4d5",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://tapbots.social/users/paul/statuses/113130951075187979",
"activitypub"
]
],
"content": "A few people pointed out the Layout protocol, which is kind of a mix between UIKit's sizeThatFits and layoutSubviews with some sprinkled in (optional) layout caching stuff. It's got good enough hooks for what I need to do, with only a few ugly hacks.",
"sig": "62bbe3440b3c3f2e31416b3084b186d8aa578ae58cb51f4264b9330fee9315049390d566714fdf85fb46e95290e088e22341c48c11d745ec0e4c0d38be7ac07e"
}