alloc() Returns a new instance of the receiving class Declarationclass func alloc() -> Self See AlsoRelated DocumentationDistributed Objects Programming Topics