Khoảng trắng trước dấu hai chấm trong tên phương thức ObjectiveC hay biểu thức thông báo. Khoảng trắng sau dấu hai chấm trong tên phương thức Mục tiêu-C hoặc biểu thức tin nhắn. Khoảng trắng giữa các loại ngoặc và tên đối số trong phương pháp khai Mục tiêu-C. | 656 CHAPTER 23 CUSTOMIZING XCODE continued PROPERTY DEFAULT DESCRIPTION PreColonspacing Whitespace before a colon in an Objective-C method name or message expression. PostColonspacing Whitespace after a colon in an Objective-C method name or message expression. MessageArgSpacing Whitespace between the parenthesized type and argument name in an Objective-C method declaration. Casestatementspacing t Relative indentation of a case keyword inside a switch block. A tab t character indents by the tab indentation width. For example if you want all code blocks inserted by Xcode text macros to place the opening curly brace on the next line of code redefine the Blockseparator property to n . The following command accomplishes this from the command line defaults write XCCodeSenseFormattingOptions -diet Blockseparator n This command creates a dictionary in the Xcode user properties with a single key value pair of Blockseparator n . Note that this also replaces any previous dictionary that might have been set another reason why using the Properties List Editor is a better idea. EXPERT PREFERENCES Expert Preferences are additional often obscure preferences for which there is no direct user interface for changing it. You set expert preferences by directly altering the settings in the preferences file for the Xcode application. This file is located in your Library Preferences folder. There are two simple ways of changing these settings. However you alter them remember that the Xcode application should not be running when you do. Changing some values while Xcode is running may have unpredictable consequences. It s best to first quit the Xcode application make your changes and then launch Xcode again. The first method is to use the defaults command from a Terminal window. The syntax for setting a value in the Xcode preferences is as follows defaults write key -type value The write command tells the defaults command to set a value