What is class extension? Why do we require them?
Answer / Gaurav Prakash
Class extensions in Objective-C are a way to add methods and properties to existing classes without subclassing. This allows for code organization and prevents conflicts with other extensions or the original class implementation. You might need them when you want to extend the functionality of an existing class without modifying its source code.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the latest version of objective-c?
Is objective c type safe language?
What is abstract class in objective c?
Does objective-c contain private strategies?
What are properties and instance variables in objective c and swift?
What is gcd objective c?
Is objective c difficult?
What is protocol in objective-c?
What is typedef objective c?
What is a goal and objective?
How different is objective c from swift?
Is objective c dynamically typed?