{"id":29523,"date":"2020-07-20T09:47:44","date_gmt":"2020-07-20T13:47:44","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=29523"},"modified":"2020-07-20T09:47:44","modified_gmt":"2020-07-20T13:47:44","slug":"swift-reflection-dump","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/07\/20\/swift-reflection-dump\/","title":{"rendered":"swift-reflection-dump"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/olebegemann\/status\/1284818114824343552\">Ole Begemann<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/olebegemann\/status\/1284818114824343552\">\n<p>swift-reflection-dump is cool! For example, this command dumps 78,000 lines of information about SwiftUI types and their stored properties:<\/p>\n<pre>.\/swift-reflection-dump --arch=x86_64 --binary-filename=&#60;path_to_SwiftUI_binary&#62;<\/pre>\n<p>[&#8230;]<\/p>\n<p>If you don&rsquo;t want to build the compiler to try this out, here&rsquo;s the <a href=\"https:\/\/gist.github.com\/ole\/7a08561a4258bd2f82a92bc21a7b2355\">SwiftUI dump I made<\/a>[&#8230;]<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Ole Begemann: swift-reflection-dump is cool! For example, this command dumps 78,000 lines of information about SwiftUI types and their stored properties: .\/swift-reflection-dump --arch=x86_64 --binary-filename=&#60;path_to_SwiftUI_binary&#62; [&#8230;] If you don&rsquo;t want to build the compiler to try this out, here&rsquo;s the SwiftUI dump I made[&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-07-20T13:47:47Z","apple_news_api_id":"6b142f96-b0c0-487c-a6ed-877db460dbb0","apple_news_api_modified_at":"2020-07-20T13:47:47Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AaxQvlrDASHym7Yd9tGDbsA","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":[75,31,1667,30,1666,71,901,1812],"class_list":["post-29523","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-developertool","tag-ios","tag-ios-13","tag-mac","tag-macos-10-15","tag-programming","tag-swift-programming-language","tag-swiftui"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29523","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=29523"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29523\/revisions"}],"predecessor-version":[{"id":29524,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/29523\/revisions\/29524"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=29523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=29523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=29523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}