UX Designer Question:
Download Questions PDF

Tell me what is KVC and KVO? Give an example of using KVC to set a value?

UX Designer Interview Question
UX Designer Interview Question

Answer:

KVC stands for Key-Value Coding. It's a mechanism by which an object's properties can be accessed using string's at runtime rather than having to statically know the property names at development time. KVO stands for Key-Value Observing and allows a controller or class to observe changes to a property value.

Download UX Designer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me the difference between copy and retain?Tell me what is MVC and how is it implemented in iOS?
What are some pitfalls you've experienced with it? Are there any alternatives to MVC?