What is the difference between class and category?
Answer / Sheo Kumar Gautam
"In Objective-C, a class is the blueprint for creating objects, while a category extends an existing class by adding new functionality. The main differences are that classes have their own .h and .m files, whereas categories are added to existing class definitions."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain application life cycle or application states?
What is m script in matlab?
Does objective c have multiple inheritance? Why not? How to imitate various inheritance?
What are nsautoreleasepool and how can we use them?
When should you call dealloc method?
Who calls dealloc method?
What is differences between nsnull and nil in objective c?
Is c++ objective c?
Is objective c statically typed?
What is struct and enum?
Explain what is the principle distinction between the function calls and messages?
What is objective c runtime?