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 |
How to initialize nsmutabledictionary in objective c?
What does alloc mean in objective c?
What is synchronized() block in objective c?
What happens if you add your just created object to a mutable array, and you release your object?
Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?
Can you differentiate polymorphism from abstraction?
Explain how the class “implementation” is represented in objective-c?
What is objective writing?
What is the point of closures?
What is dynamic dispatch method?
What is a category extension?
What is objective c programming used for?