Nominal type as a generic constraint
|
|
28
|
1305
|
March 23, 2023
|
Understanding the error "Type 'any Thing' cannot conform to 'Thing'"
|
|
5
|
1360
|
March 20, 2023
|
Problem fixing error message related to optionals
|
|
2
|
269
|
March 19, 2023
|
Strange generics behavior
|
|
7
|
299
|
March 14, 2023
|
How to properly cast object to generic enum?
|
|
3
|
181
|
March 14, 2023
|
Overload resolution for `init` ambiguous but same signature `func` is not. Bug? Intended?
|
|
37
|
601
|
March 13, 2023
|
Implicit existential opening doesn't seem to capture the type
|
|
9
|
185
|
March 13, 2023
|
When and why can't you qualify a generic type's placeholders with the type namespace?
|
|
3
|
197
|
March 12, 2023
|
Why can't I cast `Woo<Any>` to `Woo<Int>` concrete type? But `Array<Any>` to `Array<Int>` is OK?
|
|
33
|
840
|
March 9, 2023
|
Value type extensions with generic type constraint being ignored
|
|
7
|
310
|
March 8, 2023
|
Is it possible to express this in swift without the use of Primary Associated Types?
|
|
3
|
343
|
March 5, 2023
|
Typealias conformance to protocols, why can't this simple thing be implemented?
|
|
51
|
2127
|
March 5, 2023
|
Why the screen of Canvas does not change color when I use UIColor in SwiftUi or UIKit
|
|
0
|
89
|
March 1, 2023
|
A large fixed-width integer Swift package
|
|
3
|
1514
|
February 28, 2023
|
Get `UnsafeRawBufferPointer(s)` protocols
|
|
9
|
641
|
February 25, 2023
|
Building Generic with varying types
|
|
2
|
173
|
February 25, 2023
|
Calling a protocol with associatedType's method, doesn't always pick the same specialized generic implementation
|
|
3
|
370
|
February 23, 2023
|
Declaring conformance of existential types to protocols
|
|
0
|
330
|
February 21, 2023
|
Nested generic trouble
|
|
46
|
897
|
February 20, 2023
|
Conditional conformance of type to protocol does not imply conformance to inherited protocol
|
|
4
|
205
|
February 11, 2023
|
Swift 5.7, existentials and their usage
|
|
7
|
633
|
February 7, 2023
|
Specialize protocol witness for SIMDStorage
|
|
11
|
450
|
February 6, 2023
|
How to check if a value of a generic type is nil?
|
|
16
|
2697
|
February 4, 2023
|
AnyObject used in a Generic fails to identify the conformances to AnyObject. Only Generics fail
|
|
4
|
227
|
February 3, 2023
|
Same-type requirement makes generic parameters 'T' and 'Pointee' equivalent; this is an error in Swift 6 warning
|
|
2
|
280
|
February 2, 2023
|
Constrained generic `T` behaves like `Self` - so what is currently `self` in my generic initializer here?
|
|
4
|
265
|
January 29, 2023
|
Reverse generics and opaque result types
|
|
8
|
5617
|
January 24, 2023
|
AnyCollection with different generic types
|
|
2
|
259
|
January 15, 2023
|
Any + Protocol + associated type
|
|
2
|
210
|
January 14, 2023
|
How to get the default value for a type?
|
|
6
|
242
|
January 13, 2023
|