![]() To add a breakpoint move the cursor to the designated line and press Command Back Slash (⌘\), and to remove it use the same shortcut.To run the product press Command R (⌘R).To build the product use Command B (⌘B).To edit the selected scheme use Command Shift Comma (⌘⇧,).To clean the build folder press Option Shift Command K (⌥⇧⌘K).Also to fold the whole file's methods and functions use Option Shift Command Left Arrow (⌥⇧⌘←), and to unfold use Option Shift Command Right Arrow (⌥⇧⌘→). You can fold a code snippet by placing the cursor in it and press Option Command Left Arrow (⌥⌘←), and to unfold it press Option Command Right Arrow (⌥⌘→).Also after selecting the code snippet you can move it one tab forward (Shift right) by Command Ending Square Brackets (⌘]), and you can move it one tab backward (Shift Lift) by Command Starting Square Brackets (⌘[).To format the code indent you need to select the code first then hit Control I (⌃I).Use Command Forward Slash (⌘/) to comment a whole selection, and the same to uncomment the selection.To bring up the code completion you can hit Control Space (⌃⎵).To resume the preview and see the live updates you can use Option Command P (⌥⌘P).There is a new part came exclusively in macOS Catalina 10.15, which is the Canvas (The Preview), in order to show it you need to hit Option Command Return (⌥⌘↩︎), and to hide it you can use the same combination you used to bring it or alternatively you can use Command Return (⌘↩︎).To show/hide the Assistant Editor you can use Control Option Command Return (⌃⌥⌘↩︎).I found this group is the most useful for me, since it helped directly in editing my code base. You can enter/exit Fullscreen mode by Control Command F (⌃⌘F).You can bring up the Library by Shift Command L (⇧⌘L). There is a hidden part of the UI that you will use frequently, I think you guessed it, right! The Library, from there you can add UI elements in Story Boards and/or SwiftUI Preview and Code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |