|
Protocol's `associatedtype` vs. Generics
|
|
0
|
1247
|
February 3, 2022
|
|
Class that conforms to protocol with generic function returning associatedtype does not compile
|
|
4
|
2410
|
September 30, 2021
|
|
Allow use of concrete associated type of protocols
|
|
0
|
1262
|
August 17, 2021
|
|
Extending type that also conforms to another protocol
|
|
7
|
750
|
August 2, 2021
|
|
Type-Erasing in Swift | AnyView behind the scenes
|
|
11
|
6716
|
July 19, 2021
|
|
Unlock Existential Types for All Protocols
|
|
99
|
11595
|
May 10, 2021
|
|
Can we upcast a PAT?
|
|
4
|
1253
|
April 14, 2021
|
|
Comparing KeyPaths (generics, protocols with associated type)
|
|
0
|
694
|
March 15, 2021
|
|
Allow protocols with sufficient same-type constraints to be used as a regular type
|
|
1
|
1032
|
March 8, 2021
|
|
How do I check if a type / instance conforms to a protocol that "has Self or associated type requirements"?
|
|
2
|
6179
|
December 28, 2020
|
|
Generic associated type
|
|
4
|
4721
|
December 11, 2020
|
|
Why can't protocol which inherits from PAT but constrains its associated types be used as existential?
|
|
11
|
2293
|
November 16, 2020
|
|
Compile Time increase through PATs
|
|
0
|
548
|
October 25, 2020
|
|
Opaque result types with PATs
|
|
2
|
1174
|
October 17, 2020
|
|
Type Erasure on Built-in And Array Types
|
|
3
|
1541
|
October 4, 2020
|
|
How to Store and Call Any Object Conforming to a Protocol with an Associated Type
|
|
3
|
894
|
August 23, 2020
|
|
Generic function specialization for recursive protocols trying to chose wrong function
|
|
5
|
1463
|
July 19, 2020
|
|
How to fully define relationships between associated Types in Swift?
|
|
2
|
903
|
May 16, 2020
|
|
Protocol inheritance with default implementation causing ambiguous candidates
|
|
0
|
473
|
May 8, 2020
|
|
Using associatedtype from generics in function not recognized
|
|
3
|
942
|
April 28, 2020
|
|
Error: instance method 'METHOD' requires that 'CLASS' conform to 'PROTOCOL'
|
|
1
|
3691
|
March 7, 2020
|
|
Type erasure with failable initializer?
|
|
0
|
634
|
February 26, 2020
|
|
How to use associatedType protocol in vars or arrays throught `some` in Swift 5.1?
|
|
3
|
3145
|
February 23, 2020
|
|
Protocol Associated Type Constraints (where clause and <>)
|
|
1
|
2708
|
February 6, 2020
|
|
Type-erasure on PAT with Self constraint
|
|
4
|
949
|
January 29, 2020
|
|
Why some type-erasure use _AnyTypeBoxBase/_AnyTypeBox classes, and some only use _AnyTypeBox?
|
|
2
|
838
|
January 23, 2020
|
|
Structs conforming associated protocol storing problem
|
|
1
|
489
|
January 22, 2020
|
|
Compound AssociatedTypes protocols
|
|
2
|
672
|
December 23, 2019
|
|
Capitalize associatedType and typeAlias
|
|
7
|
1727
|
October 10, 2019
|
|
How would I define a protocol with two associatedtype's which conform to another associatedtype
|
|
6
|
1783
|
June 5, 2019
|