What is an accessor method?



What is an accessor method?..

Answer / Manish Nayak

Accessor methods are functions that provide a way to read (accessor) or modify (mutator) the value of instance variables in Objective-C classes. They follow a naming convention with get for readers and set for writers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What type of language is objective c?

1 Answers  


Does objective c have garbage collection?

1 Answers  


What is the principle distinction between the function calls and messages?

1 Answers  


What is nonatomic in objective c?

1 Answers  


How the class “implementation” is represented in objective-c?

1 Answers  


Why swift is faster than objective c?

1 Answers  


What is difference between objective c and swift?

1 Answers  


Is c++ similar to objective c?

1 Answers  


What does __ block do?

1 Answers  


How do you define a block?

1 Answers  


What is the difference between nsdictionary and nsmutabledictionary?

1 Answers  


What are the advantages of swift over objective c?

1 Answers  


Categories