Use a protocol to reduce code and documentation for numeric functions
|
|
10
|
333
|
December 6, 2024
|
How to access a protocol property from another protocol without exposing the other protocol in the API?
|
|
7
|
112
|
December 4, 2024
|
Compiler bug w.r.t. protocol inheritance and generics?
|
|
10
|
252
|
December 2, 2024
|
Constraining types to protocols
|
|
6
|
108
|
December 2, 2024
|
Swift 101 - Protocols - Index of interesting topics
|
|
0
|
336
|
September 23, 2024
|
A Feasible Implementation of Type Disjunctions
|
|
3
|
494
|
October 13, 2024
|
@preconcurrency attribute on conformance to 'AProtocol' has no effect
|
|
1
|
181
|
October 12, 2024
|
@availability not checked in swift 5.9
|
|
2
|
148
|
October 11, 2024
|
Can't suppress retroactive conformance by fully qualifying with module names within the same line
|
|
5
|
328
|
August 7, 2024
|
Protocol with a where clause vs protocol inheritance
|
|
7
|
184
|
July 16, 2024
|
Use a `Protocol` of @MainActor instead of concrete @MainActor class produces an error
|
|
6
|
1036
|
June 17, 2024
|
MainActor isolated protocol affects on child class but not superclass
|
|
3
|
798
|
June 11, 2024
|
Passing a parameter pack to a function call fails to compile
|
|
4
|
388
|
June 5, 2024
|
Typecasting to a protocol via a generic function
|
|
6
|
563
|
May 24, 2024
|
Nested types don't recognize protocol conformance in recursive methods
|
|
10
|
590
|
May 24, 2024
|
CodingKey.Type with protocol and generic?
|
|
1
|
273
|
May 24, 2024
|
Merging Closure into Protocols
|
|
9
|
1368
|
April 30, 2024
|
[SR-4625] Compiler reports an error for protocol conformance for method with default parameter value
|
|
0
|
145
|
April 16, 2024
|
Why Is Covariant Self more flexible on protocols than classes?
|
|
39
|
1083
|
April 15, 2024
|
FunctionalProtocols for Swift
|
|
19
|
1754
|
April 7, 2024
|
Calling through original implementations of autogenerated methods
|
|
9
|
952
|
April 2, 2024
|
Hash(into:) vs hashValue
|
|
1
|
514
|
April 2, 2024
|
Why do we prohibit redundant declarations of conformance to a protocol?
|
|
12
|
1687
|
March 31, 2024
|
Why can't I change the properties of a returned generic value?
|
|
1
|
357
|
March 30, 2024
|
Usage of extensions for protocol conformance in owned objects
|
|
12
|
1188
|
March 30, 2024
|
Advice regarding conforming external types to my protocols
|
|
1
|
287
|
March 24, 2024
|
Protocol private(set) properties
|
|
6
|
610
|
March 23, 2024
|
Optional Protocol Members
|
|
9
|
1652
|
March 13, 2024
|
Method Dispatch for Methods in Protocol Extensions in Separate Modules
|
|
7
|
1480
|
March 13, 2024
|
Protocol extensions and inheritance
|
|
9
|
19881
|
March 8, 2024
|