How to use swift protocol in objective c?
Answer / Razia Bano
Unfortunately, Swift protocols cannot be directly used in Objective-C. However, you can achieve similar functionality by using category methods or protocol-like categories in Objective-C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is objective c and c the same?
Is objective c still used?
How do you define a block?
What are nsautoreleasepool and how can we use them?
What is retain count?
How big is a atom?
What is immutable infrastructure?
How to declare variable in objective c?
Explain the difference between atomic and nonatomic synthesized properties.
Is objective c the same as c++?
Is objective c hard?
How to convert data to string in objective c?