Understanding type comparison of collection types
|
|
5
|
238
|
March 27, 2023
|
Implicit existential opening doesn't seem to capture the type
|
|
9
|
185
|
March 13, 2023
|
Is there some process to convert a negative -4000 'Int' into a 'UInt8'?
|
|
12
|
327
|
February 27, 2023
|
Type captured by the struct does not get interpreted as one would expect
|
|
6
|
261
|
January 23, 2023
|
How to return native type via `type(of:)` from JSON string
|
|
7
|
560
|
December 27, 2022
|
Small question about type comparison
|
|
5
|
380
|
November 19, 2022
|
Type casting struct to class for value returns nil
|
|
0
|
303
|
November 19, 2022
|
Wishing for a type-safe way to distinguish native types
|
|
4
|
793
|
October 1, 2022
|
Explicitly defined type casting?
|
|
4
|
344
|
August 16, 2022
|
Cast Any to Sendable
|
|
3
|
650
|
July 19, 2022
|
[Pitch] for-where-as
|
|
12
|
1341
|
April 5, 2022
|
Type inference not working for inherited protocol
|
|
5
|
541
|
February 23, 2022
|
Odd behavior related to [T?] as? [T]
|
|
17
|
955
|
February 2, 2022
|
Type confusion with Codable
|
|
6
|
662
|
December 10, 2021
|
Dynamic casting Any to a runtime optional type
|
|
12
|
552
|
September 16, 2021
|
Dynamically accessing `.objectWillChange`
|
|
6
|
1538
|
August 26, 2021
|
Best practice: Nested underying errors or error mapping, or something I haven't thought about?
|
|
0
|
363
|
May 25, 2021
|
Type-erasing closures to `(Any, Any, ...) -> Any`?
|
|
8
|
849
|
November 27, 2020
|
Missing conditional cast fix-it?
|
|
4
|
565
|
November 26, 2020
|
Implicit Casts for Verified Type Information
|
|
79
|
2685
|
November 18, 2020
|
Type checking inconsistency with generic metatypes
|
|
9
|
1538
|
September 18, 2020
|
RFC: Dynamic Casting Specification
|
|
3
|
1430
|
August 27, 2020
|
Any way to avoid the forced type conversions?
|
|
7
|
609
|
June 3, 2020
|
Dynamic extensible protocols
|
|
6
|
447
|
April 28, 2020
|
How unbox type-erasures AnyCollection or AnySequence?
|
|
1
|
683
|
January 23, 2020
|
Possibly incorrect behavior with forced downcast to Self
|
|
0
|
414
|
November 19, 2019
|
Swift reflection: casting Any to a Function with unknown type
|
|
11
|
3446
|
November 18, 2019
|
How to prove to the compiler that class conforms to a protocol?
|
|
2
|
3174
|
April 6, 2019
|