Distinguish between @synthesize and @dynamic in objective –c?
Answer Posted / Shagun Chahal
In Objective-C, both @synthesize and @dynamic are used for implementing accessor methods. However, the main difference is that @synthesize generates the accessor methods automatically when a property is declared, while @dynamic indicates that the accessor methods should not be synthesized automatically and must be implemented manually by the developer.
| 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