One Logo Pool Ball
ComputeGraph · IOS API REFERENCE

ComputeNodeGraph.Format

enum · iOS 27.0+ · SDK 27.1

enum Format

A serialization format used to encode a compute node graph. Use a value of this type with ``ComputeNodeGraph/data(using:)`` to choose how the graph is written. Both formats round-trip through ``ComputeNodeGraph/init(data:)``, which detects the format automatically when reading. Choose ``Format/json`` when you want a human-readable representation that is easy to inspect, diff, or edit by hand. Choose ``Format/propertyList`` when you want a compact binary representation that is faster to read and write and produces smaller files.

Members (1)

get · iOS 27.0+

allCases

TypeScript
get allCases(): Array<ComputeNodeGraph_Format>
Swift declaration
nonisolated static var allCases: [ComputeNodeGraph.Format] { get }

A collection of all values of this type.

Skipped declarations

No declarations were skipped in this snapshot.

All ComputeGraph types →