| layout | default |
|---|---|
| title | Specifications |
| breadcrumbs | <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F..%2Findex.html">Main</a> » Specifications |
These are the specification types for XCode 3.0 and up. Any specification will be a plist file (but saved in a text style property list) with the root item as an array, and each element within the root array of specifications as a dictionary. It is required to have in the specification dictionary an entry with the key “Type” and a value for that entry to a string identifying the type of the specification. It is good form to not only have a homogenous set of specification types in a given file but it is also good form and good bookkeeping to have the key “Identifier” defined for a meaningful or unique identification for a given specfication. Specification files can also have commentary included, which should be formatted like multi-line c style comments (/* */).
Specifications can be housed in a slew of places. Each location alters the scope of what they are effective to.
- Global
- /Developer/Library/Specifications
- User(Shared)
- /Library/Developer/Shared/Specifications
- User
- ~/Library/Developer/Shared/Specifications
- Platform
- /Developer/Platforms/SomePlatform.platform/Developer/Library/Xcode/Specifications
- Plugin
- Plugin.xcplugin/Contents/Resources
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FFileTypeSpecification.html">FileTypeSpecification</a></td>
<td>.xcspec</td>
<td>Defines file types and their poperties</td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FBuildRuleSpecification.html">BuildRuleSpecification</a></td>
<td>.xcbuildrules</td>
<td>Creates build rules. Define compilers to be used for file types.</td>
</tr>
<tr>
<td>LanguageSpecification</td>
<td>.xclangspec</td>
<td>Defines the language syntax for highlighting and recognition.</td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FSyntaxSpecification.html">SyntaxSpecification</a></td>
<td>.xcsynspec</td>
<td>Defines syntax types.</td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FMacroSpecification.html">MacroSpecification</a></td>
<td>.xctxtmacro</td>
<td>Macros and snippets. Written in a file with the ending .xctxtmacro</td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FCompilerSpecification.html">CompilerSpecification</a></td>
<td>.xcspec</td>
<td> </td>
</tr>
<tr>
<td>ToolSpecification<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2Fp%2Fxcode-plugin%2Fw%2Fedit%2FToolSpecification.html">?</a></td>
<td>.xcspec</td>
<td> </td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FPackageTypeSpecification.html">PackageTypeSpecification</a></td>
<td>.xcspec</td>
<td> </td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FProductTypeSpecification.html">ProductTypeSpecification</a></td>
<td>.xcspec</td>
<td> </td>
</tr>
<tr>
<td><a href="proxy.php?url=https%3A%2F%2Fgithub.com%2FSpecifications%2FArchitectureSpecification.html">ArchitectureSpecification</a></td>
<td>.xcspec</td>
<td></td>
</tr>
| Type | Extension | Description |