Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in swift-protocols

Using protocol's associated type in generic functions

swift swift-protocols

Why can my simple protocol only be used as a generic constraint?

Implementation of Functor protocol with associated type (Swift)

Annotating Swift function declarations that support conformance to a protocol?

How do you do java equivalent of Generic callback interface in Swift

swift swift-protocols

Can value of associatedType be a protocol? [duplicate]

how to use Void type in a closure of protocol with associatedtype in Swift

Do not understand "Member '<func>' cannot be used on value of type 'any <type>'; consider using a generic constraint instead" error

Conforming to generic protocol method returning PATs

Swift Value of protocol type 'XXX' cannot conform to 'Identifiable'; only struct/enum/class types can conform to protocols

Swift Protocol as Generic Parameter to Class

Swift Casting doesn't work as Expected

How to use protocol extensions with where clause

Variable cast as protocol instance not the same underlying type as variable of class instance?

Inconsistent Casting of Any? into a Protocol in Swift during Optional Binding

Use generic struct with protocol

Can't assign value of 'some T' to type 'some T' in swift even if they are exactly the same, why?