S
S
Slava902014-12-19 12:05:33
Swift
Slava90, 2014-12-19 12:05:33

What is the purpose of implicitly extracted optionals in the Swift language?

What is the purpose of implicitly extracted optionals in the Swift language?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Flie, 2014-12-19
@Flie

They are needed in the case when you know that after setting the value of the optional, it will definitely always exist until it is destroyed. Apps say that, for example, when you initialize a class, you can use implicitly unwrapped optionals. It's just an alternative to if-let extraction in code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question