{"id":50926,"date":"2026-02-05T14:17:40","date_gmt":"2026-02-05T19:17:40","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=50926"},"modified":"2026-02-05T14:17:40","modified_gmt":"2026-02-05T19:17:40","slug":"tahoe-swiftui-table-bugs","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2026\/02\/05\/tahoe-swiftui-table-bugs\/","title":{"rendered":"Tahoe SwiftUI Table Bugs"},"content":{"rendered":"<p><a href=\"https:\/\/www.toddheberlein.com\/blog\/2026\/2\/4\/surely-someone-else-will-report-that-terrible-bug\">Todd Heberlein<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.toddheberlein.com\/blog\/2026\/2\/4\/surely-someone-else-will-report-that-terrible-bug\">\n<p>The first bug report, FB21850924, covers a terrible memory leak in SwiftUI&rsquo;s Table view, a feature our program uses a lot. [&#8230;] Despite the rapid updates to the data, the sample program only keeps 1000 records in a deque, so the memory usage should bounded. Strangely, switching to another view triggers Swift to reclaim much of the memory.<\/p>\n<p>[&#8230;]<\/p>\n<p>The second bug report, FB21860141, covers SwiftUI Table view&rsquo;s performance degrading quickly. [&#8230;] Like the memory issue, simply switching to another view or, in this case, (strangely again) even just changing the window size resolves the problem.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2026\/02\/03\/tahoe-nstableview-scrolling-bug\/\">Tahoe NSTableView Scrolling Bug<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2024\/04\/15\/nstableview-with-swiftui\/\">NSTableView With SwiftUI<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Todd Heberlein: The first bug report, FB21850924, covers a terrible memory leak in SwiftUI&rsquo;s Table view, a feature our program uses a lot. [&#8230;] Despite the rapid updates to the data, the sample program only keeps 1000 records in a deque, so the memory usage should bounded. Strangely, switching to another view triggers Swift to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2026-02-05T19:17:44Z","apple_news_api_id":"80d601f2-9585-4878-bc96-95bc0e1ee001","apple_news_api_modified_at":"2026-02-05T19:17:44Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AgNYB8pWFSHi8lpW8Dh7gAQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[131,30,2742,571,71,1812],"class_list":["post-50926","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-bug","tag-mac","tag-macos-tahoe-26","tag-memory-management","tag-programming","tag-swiftui"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=50926"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50926\/revisions"}],"predecessor-version":[{"id":50927,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50926\/revisions\/50927"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=50926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=50926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=50926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}