Struct

"Struct" in a Sentence (2 examples)

Note that because structs are value types, the new operator does not work in the same way as it does for classes and other reference types.

Like most object-oriented languages, including Objective-C, Swift supports two basic object-oriented data structures: classes and structs.

Data sourced from Wiktionary, WordNet, CMU, and other open linguistic databases. Updated March 2026.