What do you mean by @synthesize and @dynamic in the objective-c? And also explain what do you mean by synthesized in objective-c?
Answer Posted / Kapil Kumar Verma
@synthesize and @dynamic are directives used in Objective-C for property access.
@synthesize is a compiler directive that automatically generates the accessor methods (getters and setters) for properties defined in the interface.
@dynamic, on the other hand, is a compiler directive that tells the compiler not to generate the implementation for certain properties at compile time. Instead, the implementation will be provided during runtime by another class or category.
| 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