Sean Heber on Nostr: Getting to where I might want to spend time fighting UITableView instead of fighting ...
Getting to where I might want to spend time fighting UITableView instead of fighting SwiftUI's List.
The last time I tried to replace a List with a tableview, though, I had problems with safe area stuff - I want my UITableView to extend behind SwiftUI's nav bars and toolbars on the bottom and interact correctly with them when it scrolls.
Anyone have a UIViewControllerRepresentable (or I guess UIViewRepresentable) wrapping a UITableView that does the right thing with that stuff?
Published at
2024-06-21 17:47:35Event JSON
{
"id": "0d337f0b8c27466cdba8d92d96fc663122f9a6ad790c1637ca9b3f59a0abb235",
"pubkey": "06703a7ab4964bfb0b06e8fee210259ba46ffb23b24c15ece735e04d517872f2",
"created_at": 1718992055,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/bigzaphod/statuses/112655863380293889",
"activitypub"
]
],
"content": "Getting to where I might want to spend time fighting UITableView instead of fighting SwiftUI's List.\n\nThe last time I tried to replace a List with a tableview, though, I had problems with safe area stuff - I want my UITableView to extend behind SwiftUI's nav bars and toolbars on the bottom and interact correctly with them when it scrolls.\n\nAnyone have a UIViewControllerRepresentable (or I guess UIViewRepresentable) wrapping a UITableView that does the right thing with that stuff?",
"sig": "a6686e542618a333912385a3c1f73c836b703740799a99f77779dc0db97b013530fde59512ef5cb88f39fc600e40897477098085eb2a376a1cff64a8410a23bd"
}