|
Existential casting of borrowed values
|
|
2
|
415
|
July 29, 2026
|
|
Borrowed value with `as` casting
|
|
4
|
519
|
July 23, 2026
|
|
Improving Type Name Computation Performance
|
|
9
|
851
|
March 3, 2026
|
|
Casting closure collections
|
|
11
|
969
|
November 4, 2025
|
|
Why does casting AnyHashable to NSObject always succeed?
|
|
2
|
405
|
October 5, 2025
|
|
When can one (safely) `unsafeBitCast` between function types?
|
|
3
|
348
|
September 24, 2025
|
|
Runtime casts of Sendable type to another Sendable type not possible?
|
|
2
|
361
|
September 12, 2025
|
|
Performance of `as?`
|
|
9
|
1133
|
November 15, 2024
|
|
Retroactive conformances + dynamic downcast => type unsoundness
|
|
19
|
1084
|
August 19, 2024
|
|
Why can any value be cast to `AnyObject`?
|
|
5
|
646
|
June 26, 2024
|
|
Casting/Type checking in Swift broken with Objective-C covariance?
|
|
0
|
300
|
May 29, 2024
|
|
Typecasting to a protocol via a generic function
|
|
6
|
816
|
May 24, 2024
|
|
How does type casting work?
|
|
9
|
965
|
January 10, 2024
|
|
Getting type from mangled name (e.g. "SS" -> Any.Type)
|
|
1
|
655
|
June 19, 2023
|
|
Understanding type comparison of collection types
|
|
20
|
2404
|
April 6, 2023
|
|
Implicit existential opening doesn't seem to capture the type
|
|
9
|
795
|
March 13, 2023
|
|
Is there some process to convert a negative -4000 'Int' into a 'UInt8'?
|
|
12
|
1951
|
February 27, 2023
|
|
Type captured by the struct does not get interpreted as one would expect
|
|
6
|
711
|
January 23, 2023
|
|
How to return native type via `type(of:)` from JSON string
|
|
7
|
2815
|
December 27, 2022
|
|
Small question about type comparison
|
|
5
|
1283
|
November 19, 2022
|
|
Type casting struct to class for value returns nil
|
|
0
|
1162
|
November 19, 2022
|
|
Wishing for a type-safe way to distinguish native types
|
|
4
|
1483
|
October 1, 2022
|
|
Explicitly defined type casting?
|
|
4
|
999
|
August 16, 2022
|
|
Cast Any to Sendable
|
|
3
|
3304
|
July 19, 2022
|
|
[Pitch] for-where-as
|
|
12
|
2012
|
April 5, 2022
|
|
Type inference not working for inherited protocol
|
|
5
|
1477
|
February 23, 2022
|
|
Odd behavior related to [T?] as? [T]
|
|
17
|
2536
|
February 2, 2022
|
|
Type confusion with Codable
|
|
6
|
2234
|
December 10, 2021
|
|
Dynamic casting Any to a runtime optional type
|
|
12
|
1875
|
September 16, 2021
|
|
Dynamically accessing `.objectWillChange`
|
|
6
|
3383
|
August 26, 2021
|