PBXFileReference
public final class PBXFileReference : PBXFileElement
A PBXFileReference is used to track every external file referenced by the project: source files, resource files, libraries, generated application files, and so on.
-
Element file encoding.
Declaration
Swift
public var fileEncoding: UInt?
-
Element explicit file type.
Declaration
Swift
public var explicitFileType: String?
-
Element last known file type.
Declaration
Swift
public var lastKnownFileType: String?
-
Element line ending.
Declaration
Swift
public var lineEnding: UInt?
-
Element language specification identifier
Declaration
Swift
public var languageSpecificationIdentifier: String?
-
Element xc language specification identifier
Declaration
Swift
public var xcLanguageSpecificationIdentifier: String?
-
Element plist structure definition identifier
Declaration
Swift
public var plistStructureDefinitionIdentifier: String?
-
init(sourceTree:name:fileEncoding:explicitFileType:lastKnownFileType:path:includeInIndex:wrapsLines:usesTabs:indentWidth:tabWidth:lineEnding:languageSpecificationIdentifier:xcLanguageSpecificationIdentifier:plistStructureDefinitionIdentifier:)
Initializes the file reference with its properties.
Declaration
Swift
public init(sourceTree: PBXSourceTree? = nil, name: String? = nil, fileEncoding: UInt? = nil, explicitFileType: String? = nil, lastKnownFileType: String? = nil, path: String? = nil, includeInIndex: Bool? = nil, wrapsLines: Bool? = nil, usesTabs: Bool? = nil, indentWidth: UInt? = nil, tabWidth: UInt? = nil, lineEnding: UInt? = nil, languageSpecificationIdentifier: String? = nil, xcLanguageSpecificationIdentifier: String? = nil, plistStructureDefinitionIdentifier: String? = nil)
Parameters
sourceTree
file source tree.
name
file name.
fileEncoding
text encoding of file content.
explicitFileType
user-specified file type.
lastKnownFileType
derived file type.
path
file relative path from
sourceTree
, if different thanname
.includeInIndex
should the IDE index the file?
wrapsLines
should the IDE wrap lines when editing the file?
usesTabs
file uses tabs.
indentWidth
the number of positions to indent blocks of code
tabWidth
the visual width of tab characters
lineEnding
the line ending type for the file.
languageSpecificationIdentifier
legacy programming language identifier.
xcLanguageSpecificationIdentifier
the programming language identifier.
plistStructureDefinitionIdentifier
the plist organizational family identifier.
-
Declaration
Swift
public required init(from decoder: Decoder) throws