Collection
A Collection
is a collection of packages.
struct Collection
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (20) members.
Types
struct CVE
A representation of Common Vulnerabilities and Exposures (CVE)
enum CollectionIdentifier
Represents the identifier of a
Collection
struct CollectionSource
Represents the source of a
Collection
enum CollectionSourceType
Represents the source type of a
Collection
struct Compatibility
Compatible platform and Swift version.
struct License
A representation of a package license
enum LicenseType
An enum of license types
struct Package
Package metadata
struct PackageSearchResult
A representation of package in search result
struct PaginatedPackageList
A representation of paginated list of packages.
struct Product
A representation of package product
struct SignatureData
Package collection signature metadata
struct Signer
enum SignerType
struct Target
A representation of package target
struct TargetListItem
struct TargetSearchResult
A representation of target in search result
enum TargetSearchType
An enum of target search types
Typealiases
Citizens in PackageCollections
Conformances
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
Types
struct Author
Represents the author of a
Collection
Typealiases
Type members
Instance members
let createdAt: Date
When this collection was created/published by the source
let createdBy: Author?
Who authored this collection
let identifier: Identifier
The identifier of the collection
var isSigned: Bool
Indicates if the collection is signed
let keywords: [String]?
Keywords for the collection
let lastProcessedAt: Date
When this collection was last processed locally
let name: String
The name of the collection
let overview: String?
The description of the collection
let packages: [Package]
Metadata of packages belonging to the collection
let signature: SignatureData?
The collection’s signature metadata
var source: Source
Where the collection and its contents are obtained
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.