enum
ImplicitlyUnwrappedOptional
<
Wrapped
>
Inheritance |
CustomDebugStringConvertible, CustomStringConvertible, ExpressibleByNilLiteral
View Protocol Hierarchy →
|
---|---|
Import |
|
Cases
The absence of a value. Typically written using the nil literal, nil
.
Declaration
The presence of a value, stored as Wrapped
.
Declaration
Initializers
Creates an instance that stores the given value.
Declaration
init
(
_
some
:
Wrapped
)
Creates an instance initialized with nil
.
Do not call this initializer directly. It is used by the compiler when
you initialize an Optional
instance with a nil
literal. For example:
let
i
:
Index
! =
nil
Declaration
init
(
nilLiteral
: ())
Instance Variables
A textual representation of this instance, suitable for debugging.
Declaration
var
debugDescription
:
String
{
get
}
An optional type that allows implicit member access.
Deprecated.