enum ImplicitlyUnwrappedOptional<Wrapped>
Inheritance |
CustomDebugStringConvertible, CustomStringConvertible, NilLiteralConvertible, _ObjectiveCBridgeable, _Reflectable
View Protocol Hierarchy →
|
---|---|
Import | import Swift |
Cases
Initializers
Construct a nil
instance.
Deprecated: Parameterless initializer will be removed in Swift 3. Use nil literal instead..
Declaration
init()
Construct an instance from an explicitly unwrapped optional
(Wrapped?
).
Declaration
init(_ v: Wrapped?)
Instance Variables
A textual representation of self
.
Declaration
var description: String { get }
Instance Methods
Returns nil
if self
is nil
, f(self!)
otherwise.
Deprecated: Unaccessible. Will be removed in Swift 3.
Declaration
func flatMap<U>(@noescape f: (Wrapped) throws -> U!) rethrows -> U!
If self == nil
, returns nil
. Otherwise, returns f(self!)
.
Deprecated: Unaccessible. Will be removed in Swift 3.
Declaration
func map<U>(@noescape f: (Wrapped) throws -> U) rethrows -> U!
An optional type that allows implicit member access.