`if let x as? T`
|
|
14
|
2182
|
April 7, 2024
|
Optional<Error>'s localizedDescription vs error.debugDescription
|
|
1
|
278
|
February 26, 2024
|
Cannot use `nil` or `.none` with Optional<some T>
|
|
8
|
531
|
February 17, 2024
|
How does the optional chaining work here
|
|
3
|
411
|
February 6, 2024
|
Can anyone explain this behavior in Optional Chaining?
|
|
11
|
500
|
January 29, 2024
|
"Removing implicit `nil` initial value for Optional-typed variables"
|
|
26
|
2443
|
November 9, 2023
|
`Bool?` is not optional?
|
|
5
|
706
|
September 15, 2023
|
Comparing result of `try?`
|
|
3
|
545
|
August 25, 2023
|
Optional `ExpressibleByWrappedValue` superpowers
|
|
19
|
1015
|
July 28, 2023
|
Implicitly unwrapped optionals in tuples
|
|
2
|
518
|
July 28, 2023
|
[Pitch] Extending optional chains to include for loops
|
|
51
|
3389
|
July 24, 2023
|
Ways to unwrap-mutate-wrap optionals
|
|
4
|
982
|
July 2, 2023
|
Does Optional solve a problem that Result does not anymore?
|
|
20
|
1646
|
June 6, 2023
|
Optional decoding superpowers
|
|
9
|
3119
|
March 22, 2023
|
Problem fixing error message related to optionals
|
|
2
|
530
|
March 19, 2023
|
A More Swifty Way to Check an Optional for a Nil Value
|
|
58
|
42109
|
December 12, 2022
|
Unable to set non-optional value for `WritableKeyPath` to optional `Value`
|
|
2
|
579
|
November 10, 2022
|
Binding<T> accesses wrapped value on init
|
|
8
|
1891
|
August 17, 2022
|
Optional comparison revisited
|
|
36
|
2953
|
July 9, 2022
|
When to use Optionals
|
|
5
|
2766
|
July 3, 2022
|
KeyPath<T, U?> required, but I only have KeyPath<T, U>
|
|
3
|
2230
|
May 24, 2022
|
Explicit type name for implicitly unwrapped optional type
|
|
5
|
514
|
May 9, 2022
|
.none vs nil
|
|
14
|
5029
|
February 3, 2022
|
Odd behavior related to [T?] as? [T]
|
|
17
|
1805
|
February 2, 2022
|
Dictionary initialization refinement suggestion
|
|
6
|
1745
|
December 15, 2021
|
Decoding of optionals missing in json
|
|
11
|
8128
|
November 15, 2021
|
SwiftUI oddity with optionals
|
|
4
|
978
|
October 26, 2021
|
Optional implementation. Nil in switch. And init with `Wrapper` type
|
|
1
|
1405
|
October 25, 2021
|
How to unwrap an optional option (ie 'var window?')
|
|
11
|
2025
|
October 7, 2021
|
Optional properties get unwanted default values in memberwise initializers
|
|
12
|
1297
|
September 30, 2021
|