What is the difference between property and instance variable?
Answer / Prem Chandra Mishra
In Objective-C, an instance variable is a variable that belongs to an object and exists as long as the object exists. A property is a syntactic sugar around an instance variable that provides accessors (getters and setters) and optionally manages memory for you.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does mean in objective c?
What is an extension?
What is super in objective c?
What is the difference between underscore and self (i.e self.xx and _xx) ?
What is atomic in objective c?
How do I create a bridge header in objective c?
What type of language is objective c?
Is c++ similar to objective c?
What is gcd objective c?
What are nsautoreleasepool and how can we use them?
What is nsstring?
Is a fact objective?