Skip to content

Archive of the collection of Xcode tips I shared on x

Notifications You must be signed in to change notification settings

jaywcjlove/xcode-tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简体中文



Xcode Tips

Xcode Tips

Archive of the collection of Xcode tips I shared on x


✦ My macOS/iOS application ✦

RightMenu Master Quick RSS Quick RSS Web Serve Copybook Generator DevTutor for SwiftUI RegexMate Time Passage Iconize Folder Textsound Saver Create Custom Symbols DevHub Resume Revise Palette Genius Symbol Scribe




💡 Switch Edit Window

Use the shortcut + J along with the arrow keys to switch between edit windows.

Switch.Edit.Window.mp4

💡 Quick Code Navigation

Hover over the minimap and hold to display an index of all method and variable names, allowing quick navigation to them.

Quick.Code.Navigation.mp4

💡 Code Snippet Generation Function

Select a piece of view code with your mouse, right-click to open the menu, and choose Refactor -> Extract to Method to generate a function and edit the function name.

code-snippet-generator.mp4

💡 Format to Multiple Lines

Select a line of code and press Control + m to format it as multiline code.

Format.to.Multiple.Lines.mp4

💡 Move a line or multiple lines of code up/down

Move selected multiple lines of code or the line where the cursor is located. Move code up: Cmd + Option + [, Move code down: Cmd + Option + ]

move-lines-up-down.mp4