Question: what is getter and setter in objective c?
Answer: In Cocoa's terminology, a method that retrieves the value of an object's property is referred to as a getter method, or “getter;” a method that changes the value of an object's property is referred to as a setter method, or “setter.” These methods are often found in pairs, providing API for getting and setting the ...