Distinguish between @synthesize and @dynamic in objective –c?
Answer / 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 |
What is struct in objective c?
What is difference between objective c and swift?
What is the difference between c and objective c?
What is retain count?
Can you use swift and objective c together?
What is a class property?
How to call objective c function in swift?
What are some of the major differences between objective c and swift?
What is an objective description?
Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?
What happen if we send any message to an object which is released?
What does the m mean in xcode?