Hi
there are many areas in Xcode that have icons such as items in auto completion in code editor or the debugger at run time, where can I find a help document that describes there meanings--
Kindest Regards
Did not find "official doc" ; you could file for an improvement request on doc.
in autocompletion: https://stackoverflow.com/questions/38294699/what-do-the-xcode-icons-signify-during-autocompletion
- C: class
- S: struct
- Pr: Protocol
- Ex: extension (found in the symbol navigator, but not code completion)
- T: Type (generic type constraint, protocol associated type, etc)
- L:
ocal value / variableL
- V:
alue /V
ariableV
- P: property (IIRC Xcode favors L/V for Swift, but you see P for ObjC properties)
This one seems the definite list, very comprehensive:
Red: macros
= macro (think
#define
)
Brown: Core Data / namespace
- = modeled class
- = modeled method
- = modeled property
- = C++ namespace
Orange: aliased types
- = Objective-C category
- = enum
- = typedef / typealias
- = Swift extension
Green: variables
- = binding
- = function
- = field
- = constant
- = local variable
- = IBOutlet
- = variable (can be ivar, global var, local var, etc.)
- = parameter (think f(x))
Blue: methods
- = IBAction
- = method
- = property
Purple: aggregate types
- = class (Objective-C, Swift or C++)
- = class extension
- = Objective-C/Swift protocol
- = struct
- = union
Gray: snippets
= snippets
Icons:
#pragma mark
or comments- =
!!!: ...
- =
FIXME: ...
- =
???: ...
- =
TODO: ...
- =
MARK: ...