{"id":4109,"date":"2019-02-14T16:51:15","date_gmt":"2019-02-14T16:51:15","guid":{"rendered":"https:\/\/blog.jetbrains.com\/objc\/?p=6898"},"modified":"2019-02-14T17:24:03","modified_gmt":"2019-02-14T17:24:03","slug":"move-statement-for-swift","status":"publish","type":"appcode","link":"https:\/\/blog.jetbrains.com\/fr\/appcode\/2019\/02\/move-statement-for-swift","title":{"rendered":"New AppCode 2019.1 EAP: Move Statement for Swift and attach to device process"},"content":{"rendered":"<p>Hi everyone,<\/p>\n<p>A new AppCode 2019.1 EAP build is available on <a href=\"https:\/\/www.jetbrains.com\/objc\/nextversion\/\" target=\"_blank\" rel=\"noopener\">our site<\/a>.\u00a0Please note that there is no patch update from previous 2019.1 EAP this time.<\/p>\n<h2 id=\"move_statement_for_swift\">Move Statement for Swift<\/h2>\n<p>In AppCode you can move any code line up\/down using <code>\u21e7\u2325\u2191<\/code>\/<code>\u2193<\/code> shortcuts. Now the same is possible for loops, switches, conditional statements, methods, functions, and more. Set the caret at the beginning of the code statement or the function declaration and press <code>\u21e7\u2318\u2191<\/code>\/<code>\u2193<\/code> to move it:<br \/>\n<img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/02\/objc-move_statement@2x.png\" alt=\"Move statement\" width=\"456\" data-gif-src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2019\/02\/objc-move_statement@2x.gif\" \/><\/p>\n<h2 id=\"attach_to_device_process\">Attach to device process<\/h2>\n<p>Previously it was possible to attach only to the local process by using <code>Run | Attach to Process<\/code>. Now you can attach to the remote process directly on the iOS device, using the same menu.<\/p>\n<p>That\u2019s it! There are also fixes for the <strong>Inline Typedef<\/strong> refactoring \u2013 read about that in the <a href=\"https:\/\/confluence.jetbrains.com\/display\/OBJC\/AppCode+2019.1+EAP%2C+build+191.5532.30\" target=\"_blank\" rel=\"noopener\">release notes<\/a>.<\/p>\n<p><em>Your AppCode Team<\/em><br \/>\n<em>JetBrains<\/em><br \/>\n<em>The Drive to Develop<\/em><\/p>\n","protected":false},"author":437,"featured_media":4108,"comment_status":"open","ping_status":"open","template":"","categories":[89],"tags":[744,748,600,602,749,91],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/appcode\/4109"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/appcode"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/types\/appcode"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/users\/437"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/comments?post=4109"}],"version-history":[{"count":0,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/appcode\/4109\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media\/4108"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/media?parent=4109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/categories?post=4109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/tags?post=4109"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/fr\/wp-json\/wp\/v2\/cross-post-tag?post=4109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}