StackOverflow Questions for Tag: objective-c-protocol

Aleksandr Medvedev
Aleksandr Medvedev

Reputation: 9008

How to define a `Class` object type conforming to a protocol?

Score: 0

Views: 442

Answers: 3

Read More
niagara
niagara

Reputation: 43

Throwing method cannot be an implementation of an @objc requirement because it returns a value of type `Bool`

Score: 2

Views: 331

Answers: 1

Read More
Rakuyo
Rakuyo

Reputation: 631

Why do properties modified by @optional become immutable?

Score: 3

Views: 392

Answers: 2

Read More
mllm
mllm

Reputation: 17458

Objective c protocol generics

Score: 10

Views: 9600

Answers: 4

Read More
HumanZero HumanZero
HumanZero HumanZero

Reputation: 154

How to implement an objective-C delegate function of an objective-C class in a swift extension

Score: 1

Views: 1060

Answers: 1

Read More
George WS
George WS

Reputation: 4093

Declare protocol conformance in objective-c protocol forward-declaration

Score: 0

Views: 140

Answers: 0

Read More
Michael A
Michael A

Reputation: 5850

assigning protocol parameter to object member

Score: -2

Views: 38

Answers: 1

Read More
Travis M.
Travis M.

Reputation: 11257

Using @class to get access to a delegate protocol declaration

Score: 8

Views: 2010

Answers: 5

Read More
Devarshi
Devarshi

Reputation: 16758

Replacement of @protocol(<protocol name>) in swift

Score: 4

Views: 878

Answers: 2

Read More
Sanich
Sanich

Reputation: 1835

Any way to get a compiler error/warning when a function is being deleted from a protocol?

Score: 0

Views: 30

Answers: 1

Read More
doubleL
doubleL

Reputation: 21

Swift & Objective C protocols: throwing function declaration

Score: 2

Views: 64

Answers: 0

Read More
Anoop Nyati
Anoop Nyati

Reputation: 349

What will happen if my class conforms to two protocols having same property?

Score: 0

Views: 201

Answers: 1

Read More
Andrey Lyubimov
Andrey Lyubimov

Reputation: 673

Getting protocol to an object via functions parameters

Score: 1

Views: 69

Answers: 2

Read More
Chris
Chris

Reputation: 589

What is the purpose of protocols if all methods are optional?

Score: 3

Views: 446

Answers: 3

Read More
Senseful
Senseful

Reputation: 91911

Creating a category for classes that implement a specific protocol in Objective-C?

Score: 9

Views: 2524

Answers: 2

Read More
tacos_tacos_tacos
tacos_tacos_tacos

Reputation: 10585

Clarification needed about the rules of properties declared in protocols

Score: 1

Views: 196

Answers: 1

Read More
Jesse Rusak
Jesse Rusak

Reputation: 57188

Type "SwiftClass" cannot conform to protocol "ObjcProtocol" because it has requirements that cannot be satisfied

Score: 26

Views: 8005

Answers: 1

Read More
Duncan C
Duncan C

Reputation: 131491

How to create class methods that conform to a protocol shared between Swift and Objective-C?

Score: 11

Views: 3590

Answers: 1

Read More
tacos_tacos_tacos
tacos_tacos_tacos

Reputation: 10585

Is there a way to force XCode to provide autocompletion of imports and/or classes in header files that are not included by an implementation file?

Score: 0

Views: 367

Answers: 0

Read More
VanFruniken
VanFruniken

Reputation: 21

Adding optional method of objective-C class to swift extension

Score: 2

Views: 620

Answers: 0

Read More
PreviousPage 1Next