UX Designer Question: Download UX Designer PDF

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

Tweet Share WhatsApp

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 PDF Read All 67 UX Designer Questions
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?