API Differences in CoreTransferable in iOS 18.2

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in CoreTransferable in the iOS 18.2 SDK.

Table of Contents

Functions & Methods

Transferable
public func export(to destinationDirectory: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?) async throws -> Foundation.URL
Transferable
public func exported(as contentType: UniformTypeIdentifiers.UTType?) async throws -> Foundation.Data
Transferable
public static func exportedContentTypes(visibility: CoreTransferable.TransferRepresentationVisibility = .all) -> [UniformTypeIdentifiers.UTType]
Transferable
public func exportedContentTypes(_ visibility: CoreTransferable.TransferRepresentationVisibility = .all) -> [UniformTypeIdentifiers.UTType]
Transferable
public static func importedContentTypes() -> [UniformTypeIdentifiers.UTType]
Transferable
public func importedContentTypes() -> [UniformTypeIdentifiers.UTType]
Transferable
public func withExportedFile<Result>(contentType: UniformTypeIdentifiers.UTType?, fileHandler: (Foundation.URL) async throws -> Result) async throws -> Result

Properties & Constants

Transferable
public var suggestedFilename: Swift.String?

Initializers

Transferable
public init(importing file: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?) async throws
Transferable
public init(importing data: Foundation.Data, contentType: UniformTypeIdentifiers.UTType?) async throws