Explain what is @synthesize in objective-c?
Answer / Abhinandan Yadav
@synthesize is a compiler directive used in Objective-C to generate accessor methods (getters and setters) for instance variables declared in the interface of a class. It simplifies property management and makes it easier to follow Apple's coding guidelines.
| Is This Answer Correct ? | 0 Yes | 0 No |
Who invented objective c?
How to convert data to string in objective c?
When will you use nsarray and nsmutablearray?
Can you use objective c in swift?
What is parsing? Mention which class can you use for parsing of xml in iphone?
What is the difference between string and nsstring?
What is property and its types?
What happens with the objects if the array is released?
What do you mean by category and when to use it?
What is dot notation?
What do you mean by dot notation?
How do I open .m files?