Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in swift-protocols

Can I extend Tuples in Swift?

Difference between Swift's hash and hashValue

swift hash swift-protocols

How can I call a static function on a protocol in a generic way?

what is 'where self' in protocol extension

Why can't a get-only property requirement in a protocol be satisfied by a property which conforms?

swift swift-protocols

When to use `protocol` and `protocol: class` in Swift?

swift swift-protocols

Swift 2 Error using mutating function in Protocol extension "Cannot use mutating member on immutable value: 'self' is immutable

Arrays of Generics in Swift

Can I have an init func in a protocol?

Why I can't use let in protocol in Swift?

Protocol func returning Self

"fatal error: array cannot be bridged from Objective-C"—Why are you even trying, Swift?

ios swift swift-protocols

How to make an enum conform to a protocol in Swift?

swift enums swift-protocols

In Swift, how can I declare a variable of a specific type that conforms to one or more protocols?

Swift - class method which must be overridden by subclass

Non-'@objc' method does not satisfy optional requirement of '@objc' protocol

What does "Protocol ... can only be used as a generic constraint because it has Self or associated type requirements" mean?

Protocol can only be used as a generic constraint because it has Self or associatedType requirements

Protocol doesn't conform to itself?

Usage of protocols as array types and function parameters in swift