Limitations of `borrowing` / why not first-class borrowed references?
|
|
0
|
80
|
May 21, 2025
|
Opposite of Optional<T>.take() to set to .some value iff nil
|
|
16
|
333
|
January 31, 2025
|
Apparent compiler bug relating to Optional witnessing failable initializer requirement
|
|
1
|
128
|
January 2, 2025
|
Possible bug in Swift?
|
|
2
|
210
|
November 29, 2024
|
[Pitch] JSONDecoder.nullDecodingStrategy
|
|
18
|
5261
|
November 15, 2024
|
A More Swifty Way to Check an Optional for a Nil Value
|
|
61
|
49062
|
October 9, 2024
|
How to unwrap an optional option (ie 'var window?')
|
|
12
|
2698
|
September 6, 2024
|
`Cannot find type 'Key' in scope` when extending optional Dictionaries
|
|
10
|
490
|
June 24, 2024
|
No way to create a non-nil std.optional in Swift
|
|
1
|
618
|
May 29, 2024
|
`if let x as? T`
|
|
14
|
2483
|
April 7, 2024
|
Optional<Error>'s localizedDescription vs error.debugDescription
|
|
1
|
501
|
February 26, 2024
|
Cannot use `nil` or `.none` with Optional<some T>
|
|
8
|
1109
|
February 17, 2024
|
How does the optional chaining work here
|
|
3
|
669
|
February 6, 2024
|
Can anyone explain this behavior in Optional Chaining?
|
|
11
|
637
|
January 29, 2024
|
"Removing implicit `nil` initial value for Optional-typed variables"
|
|
26
|
3482
|
November 9, 2023
|
`Bool?` is not optional?
|
|
5
|
1090
|
September 15, 2023
|
Comparing result of `try?`
|
|
3
|
746
|
August 25, 2023
|
Optional `ExpressibleByWrappedValue` superpowers
|
|
19
|
1234
|
July 28, 2023
|
Implicitly unwrapped optionals in tuples
|
|
2
|
653
|
July 28, 2023
|
[Pitch] Extending optional chains to include for loops
|
|
51
|
3652
|
July 24, 2023
|
Ways to unwrap-mutate-wrap optionals
|
|
4
|
1187
|
July 2, 2023
|
Does Optional solve a problem that Result does not anymore?
|
|
20
|
1892
|
June 6, 2023
|
Optional decoding superpowers
|
|
9
|
6083
|
March 22, 2023
|
Problem fixing error message related to optionals
|
|
2
|
603
|
March 19, 2023
|
Unable to set non-optional value for `WritableKeyPath` to optional `Value`
|
|
2
|
689
|
November 10, 2022
|
Binding<T> accesses wrapped value on init
|
|
8
|
2846
|
August 17, 2022
|
Optional comparison revisited
|
|
36
|
3905
|
July 9, 2022
|
When to use Optionals
|
|
5
|
5696
|
July 3, 2022
|
KeyPath<T, U?> required, but I only have KeyPath<T, U>
|
|
3
|
2429
|
May 24, 2022
|
Explicit type name for implicitly unwrapped optional type
|
|
5
|
588
|
May 9, 2022
|