Search code examples
Are we able to nest functions that return protocol types now? Or was that always the case and the do...


swiftgenericsswiftuiswift-protocols

Read More
What's the point of conforming to an empty protocol in Swift...


swiftswift-protocols

Read More
How can I make a closure to conform to 'AccessibilityRotorContent'?...


iosswiftswiftuiswiftui-listswift-protocols

Read More
if-let Any to RawRepresentable<String>...


swiftgenericsswift-protocols

Read More
How to save a Decodable.Protocol object to a variable?...


iosswiftswift-protocolsdecodable

Read More
swift protocol conformance when same property name is optional...


swiftswift-protocols

Read More
Incompatible pointer types returning swift class from Obj-C function...


swiftobjective-creturn-typeswift-protocols

Read More
Referencing operator function '==' on 'Equatable' requires that 'Dictionary<U...


swiftdictionaryswift-protocolsequatable

Read More
Compiler Error Passing `associatedtype` value from one Protocol to another...


swiftswift-protocols

Read More
In Swift, how do I add a where constraint is equatable inside a protocol?...


swiftgenericsswift-protocols

Read More
Why the protocol cannot be inherited...


swiftswift-protocols

Read More
Protocol with generics throws error when used as a property to call a method...


swiftgenericsprotocolsswift-protocolsswift5.7

Read More
Swift recursive protocol: How to mark leave node?...


swiftrecursionmacos-sierraswift-protocols

Read More
Swift: dynamic dispatch with protocol and subclass...


swiftprotocolsswift-protocolsdynamic-dispatch

Read More
How to pass through to a base value in a generic wrapper struct?...


swiftgenericsprotocolswrapperswift-protocols

Read More
Redundant duplication of typealiase declarations when conforms to a protocol (Part 2)...


swiftprotocolsswift-protocolstype-alias

Read More
How to implement a default method for a custom infix operator in a protocol extension...


swiftextension-methodsswift-protocolsinfix-operator

Read More
I got stuck using protocols with associated type...


swiftgenericsswift-protocols

Read More
Use associated type protocol as a return type of a generic function...


swiftgenericsswift-protocolsassociated-types

Read More
Why does allCases Variable of Protocol conforming to CaseIterable not conform to RandomAccessCollect...


swiftxcodegenericsswiftuiswift-protocols

Read More
Swift compiler (dictionary key): "must conform to Hashable" and "cannot conform to Ha...


swiftdictionaryswift-protocolsanyhashable

Read More
Protocols with associated types compile error: Protocol can only be used as a generic constraint bec...


swiftgenericsswift-protocolsassociated-types

Read More
Mocking a generic class in Swift...


swiftgenericsxctestswift-protocols

Read More
How can I return a struct which indirectly inherits the View protocol via another protocol in SwiftU...


swiftswiftuiswift-protocolsswiftui-view

Read More
Type 'any Protocol' cannot conform to 'Protocol'...


swiftswift-protocols

Read More
URLSession's Data Task returning Nil when I try to conform the object to Identifiable protocol...


swiftswiftuiswift-protocolsurlsessionjsondecoder

Read More
Swift declare generic protocol by "="...


swiftswift-protocols

Read More
Swift - Passing data from model to controller using delegate design pattern...


swiftmodelcontrollerdelegatesswift-protocols

Read More
Dependency Injection in Protocol/Extension...


swiftswift-protocolsswift-extensions

Read More
How does one declare optional methods in a Swift protocol?...


iosswiftoptional-parametersswift-protocolsswift-extensions

Read More
BackNext