{"id":17038,"date":"2017-01-27T14:57:00","date_gmt":"2017-01-27T19:57:00","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=17038"},"modified":"2017-01-27T14:57:53","modified_gmt":"2017-01-27T19:57:53","slug":"injection-ii-the-app","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/01\/27\/injection-ii-the-app\/","title":{"rendered":"Injection II, the App"},"content":{"rendered":"<p><a href=\"http:\/\/johnholdsworth.com\/injection.html\">John Holdsworth<\/a> (<a href=\"https:\/\/twitter.com\/Injection4Xcode\/status\/816400035713875968\">tweet<\/a>):<\/p>\n<blockquote cite=\"http:\/\/johnholdsworth.com\/injection.html\"><p>The Injection plugin for Xcode is now a standalone app. This allows you to inject changes to class method implementations into a running application in the simulator or a macOS app. Injecting is now as simple as downloading the app and having it running in the background while you are working on a project in Xcode then using the menu bar item &ldquo;Inject Source&rdquo; (don&rsquo;t forget to save the file!)<\/p><p>[&#8230;]<\/p><p>The app includes the &ldquo;Xprobe&rdquo; viewer for browsing an application&rsquo;s memory.\nIt&rsquo;s loaded into an app using the &ldquo;Load Xprobe&rdquo; menu bar item. Initially, Xprobe\ndisplays a &ldquo;sweep&rdquo; of objects found by recursively following ivars pointing to other\nobjects from a set of seeds. Clicking on an instance link displays the ivars of that\nobject at that point in time. A snapshot can also be taken to freeze the state of the\nentire application and store it as a standalone web page for later analysis such as \n<a href=\"http:\/\/johnholdsworth.com\/eidolon.html\">this file<\/a> from Artsy&rsquo;s\n<a href=\"https:\/\/github.com\/artsy\/eidolon\">eidolon<\/a>.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>John Holdsworth (tweet): The Injection plugin for Xcode is now a standalone app. This allows you to inject changes to class method implementations into a running application in the simulator or a macOS app. Injecting is now as simple as downloading the app and having it running in the background while you are working on [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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,1380,30,1381,71,901,943,226],"class_list":["post-17038","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-developertool","tag-ios","tag-ios-10","tag-mac","tag-macos-10-12","tag-programming","tag-swift-programming-language","tag-swift-runtime","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17038","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=17038"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17038\/revisions"}],"predecessor-version":[{"id":17039,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17038\/revisions\/17039"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}