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 |
Why create a custom view?
What is kvc and kvo? Give an example of using kvc to set value.
What optional binding?
What is an objective statement?
Is objective-c is used in window also?
How does dispatch_once manages to run only once?
Is objective c similar to java?
What is an nsobject?
What is the purpose of the protocol?
What is protocol in networking?
Why is objective c used?
Why swift is faster than objective c?