Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in swift-protocols

Why do Self and self sometimes refer to different types in static functions?

Declare protocol function with default argument values

IBOutlet crashing with EXC_BAD_ACCESS even though not nil

Swift protocol nested in a class

swift swift-protocols

Pass data between ViewController and ContainerViewController

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