{"id":228013,"date":"2020-07-27T11:39:29","date_gmt":"2020-07-27T03:39:29","guid":{"rendered":"https:\/\/magicalbits.net\/?p=228013"},"modified":"2020-07-27T11:39:29","modified_gmt":"2020-07-27T03:39:29","slug":"swiftui-running-a-mac-app-without-an-xcode-project","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=228013","title":{"rendered":"SwiftUI: Running a Mac App Without an Xcode Project"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.objc.io\/images\/blog\/2020-05-18-screenshot-78cb2ec8.png\"><\/p>\n<p>In 2018, we wrote a post about using AppKit from the command line. We can use exactly the same technique to run a SwiftUI app directly from a Swift file. When you\u2019re writing a quick tool, perhaps to visualize something, or to get user feedback, an Xcode project can feel like overkill.<\/p>\n<p><a href=\"https:\/\/www.objc.io\/blog\/2020\/05\/19\/swiftui-without-an-xcodeproj\/\">Read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In 2018, we wrote a post about using AppKit from the command line. We can use exactly the same technique to run a SwiftUI app directly from a Swift file. When you\u2019re writing a quick tool, perhaps to visualize something, or to get user feedback, an Xcode project can feel like overkill. Read more<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[54],"class_list":["post-228013","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-pocket"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/228013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228013"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/228013\/revisions"}],"predecessor-version":[{"id":228014,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/228013\/revisions\/228014"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}