Extension methods for non-nominal types
|
|
33
|
7755
|
December 20, 2024
|
SwiftData Predicate does not handle protocol witness?
|
|
3
|
1072
|
December 19, 2024
|
How to define a pointer to a class instantiation in a common block
|
|
0
|
44
|
December 18, 2024
|
Conforming to public protocol using shared internal implementation
|
|
0
|
49
|
December 18, 2024
|
How to define generic methods in swift with type Constraints
|
|
0
|
42
|
December 8, 2024
|
Why can `any Shape` not conform to `Shape`
|
|
6
|
190
|
December 5, 2024
|
How to access a protocol property from another protocol without exposing the other protocol in the API?
|
|
7
|
112
|
December 4, 2024
|
Opaque type as generic type constraint of another opaque type
|
|
1
|
79
|
December 4, 2024
|
Compiler bug w.r.t. protocol inheritance and generics?
|
|
10
|
252
|
December 2, 2024
|
Constraining types to protocols
|
|
6
|
108
|
December 2, 2024
|
How do I extend ButtonStyle with my generic struct conforming to ButtonStyle?
|
|
2
|
60
|
November 16, 2024
|
Language limitation, or am I not doing this right? `Error: Pack expansion requires that 'each Element' and 'repeat each Element' have the same shape`
|
|
3
|
156
|
November 11, 2024
|
Generic functions overload in Protocols
|
|
2
|
142
|
November 7, 2024
|
AnyView returned in functions with generic Views (SwiftUI)
|
|
4
|
173
|
November 4, 2024
|
Overload (or disambiguation) of a typed function?
|
|
14
|
289
|
November 3, 2024
|
Equality for generic container and Void
|
|
5
|
1872
|
November 15, 2019
|
Spelling empty parameter packs as just type identifier
|
|
2
|
180
|
October 25, 2024
|
A Feasible Implementation of Type Disjunctions
|
|
3
|
494
|
October 13, 2024
|
Can't compile swift
|
|
2
|
163
|
October 12, 2024
|
`some protocol` gives out different result for the same code
|
|
9
|
129
|
October 11, 2024
|
Why can animatableData be two types at the same time?
|
|
3
|
113
|
October 10, 2024
|
Compiler unable to infer type in case of multiple parameter packs
|
|
0
|
78
|
October 7, 2024
|
Something changed in generics?
|
|
5
|
295
|
October 6, 2024
|
Cast from generic type to specific type always fails in swift 6
|
|
2
|
134
|
October 2, 2024
|
Parameter Packs: Generic parameter 'each Value' could not be inferred
|
|
3
|
96
|
October 1, 2024
|
Xcode 16 type cast to protocol with constrained associated type
|
|
2
|
128
|
September 11, 2024
|
Why is `[P1(), P2()]` not inferred as `[any P]` when passed to a function expecting `some Sequence<any P>`?
|
|
8
|
233
|
September 5, 2024
|
How do you deal with lack of default generic arguments? Copy+paste?
|
|
1
|
72
|
August 31, 2024
|
Lldb: Unable to bind generic parameters in context with weakly captured self
|
|
1
|
69
|
August 29, 2024
|
Cannot infer type returned by previous closure
|
|
2
|
70
|
August 28, 2024
|