Skip to content

ReferenceStorageKind

Azoy edited this page May 6, 2021 · 2 revisions

ReferenceStorageKind

A discriminator to determine what kind of reference storage modifier a field is.

public enum ReferenceStorageKind: String 

Inheritance

String

Enumeration Cases

none

A normal field declaration. E.g. let someClass:​ SomeClass

case none = ""

weak

A weak field declaration. E.g. weak var someClass:​ SomeClass?

case weak = "Xw"

unowned

An unowned field declaration. E.g. unowned let someClass:​ SomeClass

case unowned = "Xo"

unmanaged

An unmanaged field declaration. E.g. unowned(unsafe) let someClass:​ SomeClass

case unmanaged = "Xu"
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally