What do you mean by @synthesize and @dynamic in the objective-c?
Answer / 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 |
Is objective c compiled?
what is gcd? What are advantages over nsthread?
Can you write setter method for a retain property?
What is the difference between polymorphism and abstraction?
What is the latest version of objective-c?
What is abstract class in objective c?
How to use objective c file in swift?
Is objective c the same as c++?
Explain application life cycle or application states?
What is difference between array and nsarray?
What is the principle distinction between the function calls and messages?
Does copy increase retain count?