Answer Posted / Krati Vishnoi
In Objective-C, an extension is a way of adding methods and properties to existing classes without modifying the original implementation files. Extensions help you separate your code into smaller parts, making it more readable and manageable. To create an extension, simply place the additional code inside a curly brace block following the @interface declaration for the class in a .m or .h file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category