StackOverflow Questions for Tag: protocol-extension

user1007047
user1007047

Reputation: 48

Swift protocol extensions and immutable properties

Score: 0

Views: 68

Answers: 0

Read More
A O
A O

Reputation: 5698

Multiple classes with the same generic properties and setup, how can I reduce duplicate code?

Score: 0

Views: 288

Answers: 2

Read More
bamboofighter
bamboofighter

Reputation: 309

How to visualize Protocols and Extensions in UML?

Score: 11

Views: 2365

Answers: 2

Read More
rmorshea
rmorshea

Reputation: 852

Mutating Function in Protocol Extension Where Self is UIViewController

Score: 3

Views: 1168

Answers: 2

Read More
Greg Brown
Greg Brown

Reputation: 3254

Async/await not supported in protocol extension?

Score: 1

Views: 2012

Answers: 1

Read More
mairo
mairo

Reputation: 155

Computed property to sum numeric arrays in Swift

Score: 1

Views: 162

Answers: 1

Read More
hakuna matata
hakuna matata

Reputation: 3327

Swift protocol extension with specific Self type

Score: 0

Views: 783

Answers: 2

Read More
some_id
some_id

Reputation: 29896

Protocol extension on an ObjC protocol

Score: 25

Views: 28255

Answers: 2

Read More
Yotam
Yotam

Reputation: 10495

Swift: extend protocol whose associated type is an array

Score: 0

Views: 213

Answers: 2

Read More
Amogam
Amogam

Reputation: 437

How do I unit test Protocol and it's extension

Score: 4

Views: 4125

Answers: 1

Read More
bobby123uk
bobby123uk

Reputation: 1160

Which is an appropriate protocol constraint to identify a property as being '@Published'

Score: 1

Views: 45

Answers: 1

Read More
apunn
apunn

Reputation: 97

Swift Extension computed variable not read correctly until declared in protocol

Score: -1

Views: 98

Answers: 1

Read More
Haravikk
Haravikk

Reputation: 3290

Extending Generic Integer Types in Swift

Score: 10

Views: 3686

Answers: 5

Read More
OgreSwamp
OgreSwamp

Reputation: 4692

Calling selector from protocol extension

Score: 13

Views: 4255

Answers: 4

Read More
ex-tension
ex-tension

Reputation: 11

Is there a way to automatically invoke a protocol method after conformance in Swift?

Score: 1

Views: 344

Answers: 0

Read More
Lê Khánh Vinh
Lê Khánh Vinh

Reputation: 2611

Swift proper use of protocol extension

Score: 0

Views: 261

Answers: 2

Read More
Atif
Atif

Reputation: 286

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

Score: 1

Views: 534

Answers: 1

Read More
Joseph Beuys' Mum
Joseph Beuys' Mum

Reputation: 2284

How does one make protocols and their extensions in Swift store properties?

Score: 0

Views: 84

Answers: 1

Read More
Greg
Greg

Reputation: 9178

Method in non-final class must return `Self` to conform to protocol

Score: 23

Views: 6089

Answers: 6

Read More
kylejs
kylejs

Reputation: 1128

Extend Array to conform to protocol if Element conforms to given protocol

Score: 9

Views: 1856

Answers: 4

Read More
PreviousPage 1Next