Some common operations of MAC system and Xcode are introduced

Source: Internet
Author: User

Foreword: Affected by Typhoon today's school does not have classes, at home idle egg pain Nothing to do, using the Mac system for some time to find it and the operating style of Windows system is still very different, then decided to Mac system and xcode some common operations collected, convenient for their future search use.

One, Mac system (OS X 10.10 or higher) operation Chapter

1) F11 switch to desktop quickly when multiple programs are open

2) command+c command+alt (option) +v enables clipping of files/folders

3) Command+delete (or BACKSPACE) enables quick deletion of files/or folders

4) Command+shift+delete (or BACKSPACE) + ENTER to quickly empty the trash (on desktop operation)

5) Command+tab can be switched between multiple programs

6) command+~ can switch between multiple items/tabs in the same program

7) Command+shift+4 can achieve area screenshot

8) Command+shift+3 can achieve full screen screenshot

9) Command+w Close the current program window

Command +q completely exits the current program

11) Quickly locate the file location: Switch to the desktop click on the top left, select Go to Folder paste to locate the file path click to go

12) Display the extension of all the files of the system name: Switch to the desktop click on the Finder at the top left, select Preferences Click Advanced Options Tick Show all file extension

13) Implement file sharing: Switch to Desktop click on the Apple icon in the upper left corner select System Preferences find Shared Items click on the + sign below to select File Share click on Add to share folder (Mac seems to only share folders cannot share individual files); If you want to implement Guest user Connection Sharing (i.e. no password sharing) You need to open Guest user privileges within the user and group, and others can search for your share in the shared options in the sidebar in the Finder.

15) To achieve network sharing (WiFi hotspot): Also in the system Preferences of the sharing menu select Internet Sharing (only in the context of Wired network operation) set the network name and password can be.

16) Get the absolute path where the current file is located: Select the current file and drag it into the Mac terminal.

17) Implement Safari Browser Press F5 refresh: Enter System Preferences find keyboard menu click enter after Find shortcut key options Click on the left side of the application shortcut click the + sign in the lower left corner, find the Safari.app option in the Application drop-down box, fill in the menu title text box "Reload page" ( required); keyboard shortcuts type F5.

18) The mouse wheel direction is not natural to solve: in the system Preferences to find the mouse menu click-to-enter will be scrolling direction: natural Check to remove;

Second, Xcode (Xcode6.3 version) operating Chapter

1) Command +,: Set



2) Command +r: Run



3) Command +/: Comment or extract one line of code



4) Command +]: Code segment right Shift



5) Command +[: Move the code segment to the left



6) Command +z: Undo Operation



7) Command+b compile but not run



8) ESC key hint function, prompt function parameter, etc.



9) tab or space auto-complete prompt



Ctrl+a/command +left cut into the beginning of the line



Ctrl+e/command + right to cut into the end of the line



Shift (Option) +left the previous word


Shift (Option) + right next word



F6 Step over Single step commissioning



F7 Step into Enter commissioning



F8 Step out Debug



) Ctrl+command+y continue to run



Command+f find content in the current file



Command+shift+f found in the entire project



Command+shift+o Global retrieval of matching files or structures



) ctrl+command+f switch between fullscreen and non-fullscreen



Command+k empty the console output content



COMMAND+1/2/3/4/5) ... Control the left navigation bar display

24) Press and hold the command left click on the method name to jump directly into the method to view the specific implementation

Command+n quickly add new files

Command+shift+n quickly add new items

27) Empty the previously opened Project record: Open Xcode and click on the File menu in the upper left corner to find the open recent click on the Clear menu

28) Turn off Xcode automatic memory management mechanism: Select item in the left Build Settings option under Enter Auto search find objective-c Automatic Reference counting option set to No

29) Add Xcode to monitor the wild pointer: Click on the upper left corner of the Xcode edit Scheme tick the Enable Zoombie Objects option to

Some common operations of MAC system and Xcode are introduced

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.