Can protocols have properties?
Answer / Amit Kumar Snai
No, in Objective-C, protocols do not have properties. They define a blueprint of methods that can be adopted by a class or struct.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is an m file?
What is better objective c or swift?
How do you insert a block?
Explain the way messaging works in objective-c?
What are the two types of m files?
What are the advantages of using objective-c?
Tell me something about objective-c blocks?
Explain how to call a function in objective-c?
How to call function?
How to print string in objective c?
What is extern objective c?
What is difference between method and constructor?