Why do we require class extension?
Answer / Avinash Kumar Subhash
Class extensions are used in Objective-C to separate the implementation details of a class from its public interface. This separation helps keep the code organized and easy to maintain, as it allows you to group related methods together without exposing them to the public API.
| Is This Answer Correct ? | 0 Yes | 0 No |
What number distinctive annotations is accessible in objective-c?
What is the difference between property and instance variable?
Ns object is a parent class or derived class?
What do you mean by @synthesize and @dynamic in the objective-c?
What is dictionary objective c?
List out the methods used in nsurl connection?
What are properties and instance variables in objective c and swift?
Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?
What does alloc mean in objective c?
what is gcd? What are advantages over nsthread?
What is a class property?
Is objective c compiled?