Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC vs KVO in implementation

I am a beginner in the realm of cocoa and don't understand when you should choose key value observing over the Model View Controller. My question: Can everything that is done with a MVC scheme also be implemented with KVO? Is it true as well that you could replace any KVO with a similar MVC?

Thanks

like image 431
utahwithak Avatar asked Feb 03 '26 14:02

utahwithak


1 Answers

They are not mutually exclusive. MVC is a general design pattern and KVO is a specific Cocoa technology which you can use in MVC applications (and other apps too).

like image 78
JeremyP Avatar answered Feb 05 '26 06:02

JeremyP



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!