{"id":27810,"date":"2020-01-08T17:00:51","date_gmt":"2020-01-08T22:00:51","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=27810"},"modified":"2020-01-08T17:00:51","modified_gmt":"2020-01-08T22:00:51","slug":"xcode-preview-snips","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/01\/08\/xcode-preview-snips\/","title":{"rendered":"Xcode Preview Snips"},"content":{"rendered":"<p><a href=\"https:\/\/www.swiftjectivec.com\/xcode-preview-snips\/\">Jordan Morgan<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.swiftjectivec.com\/xcode-preview-snips\/\"><p>Look, you know where I&rsquo;m going with this. If you&rsquo;ve adopted SwiftUI (or even if you haven&rsquo;t - view controllers apply here too) then you know Xcode Previews are more than a time saver. They are a fork in the road. There&rsquo;s no going back once you get hooked on that instant feedback.<\/p><p>Today, I&rsquo;ll share a few quick snips of my go-to previews. Some of these are already well known, tweeted and blogged about - but my topic for this post is <em>my favorite<\/em> things to use with <code>PreviewProvider<\/code>, so I&rsquo;ve included them anyways for posterity&rsquo;s sake. Let&rsquo;s take a look.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Jordan Morgan: Look, you know where I&rsquo;m going with this. If you&rsquo;ve adopted SwiftUI (or even if you haven&rsquo;t - view controllers apply here too) then you know Xcode Previews are more than a time saver. They are a fork in the road. There&rsquo;s no going back once you get hooked on that instant feedback.Today, [&hellip;]<\/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-01-08T22:00:56Z","apple_news_api_id":"2e43e9c9-f707-4eb2-beba-f034ef99ed06","apple_news_api_modified_at":"2020-01-08T22:00:56Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/ALkPpyfcHTrK-uvA075ntBg","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":[31,1667,30,1666,74,71,901,1812,226],"class_list":["post-27810","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-ios","tag-ios-13","tag-mac","tag-macos-10-15","tag-opensource","tag-programming","tag-swift-programming-language","tag-swiftui","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27810","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=27810"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27810\/revisions"}],"predecessor-version":[{"id":27811,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/27810\/revisions\/27811"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=27810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=27810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=27810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}