What do you mean by @synthesize and @dynamic in the objective-c?
Answer Posted / Mohit Srivastava
@syntheize is a directive used in Objective-C to generate accessor methods for instance variables, while @dynamic is used to declare that the implementation of a method or property will be provided at runtime. In other words, @synthesize generates getter and setter methods automatically, while @dynamic tells the compiler not to generate these methods and leaves their implementation to a subclass.
| 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