What is the difference between property and instance variable?
Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category