STRUCT
BuildableFolderExceptions
Contents
- Properties
exceptions
- Methods
init(arrayLiteral:)
exceptions(_:)
swift
public struct BuildableFolderExceptions: Sendable, Codable, Equatable, Hashable, ExpressibleByArrayLiteral
PBXFileSystemSynchronizedRootGroup have a one-to-many relationship with PBXFileSystemSynchronizedBuildFileExceptionSet through .exceptions. Exceptions are used to exclude files and override conffigurations.
Properties
exceptions
swift
public var exceptions: [BuildableFolderException]
A list with all the exceptions.
Methods
init(arrayLiteral:)
swift
public init(arrayLiteral elements: BuildableFolderException...)
Create a group of exceptions to exclude files from your group or change the configuration of some of them.
- Parameter exceptions: The list of exceptions.
- Returns: An instance containing all the exceptions.
Parameters
Name | Description |
---|---|
exceptions | The list of exceptions. |
exceptions(_:)
swift
public static func exceptions(_ exceptions: [BuildableFolderException]) -> Self
Creates a new instance of BuildableFolderExceptions
from an array of exceptions.
This is useful when constructing the structure programmatically, rather than using array literals.
- Parameter exceptions: The array of
BuildableFolderException
to include. - Returns: A
BuildableFolderExceptions
value containing all the provided exceptions.
Parameters
Name | Description |
---|---|
exceptions | The array of BuildableFolderException to include. |