MVVM most importent part of development. Mostly we use MVC for swift and objective c development. But some times we need to user other design patrons. We use MVVM to make our logic seprate for testing pupus. In first step we seprate moth view and view controller logic in view model using KVO deisgn patron. KVO help us to seprate view logic form over controller so then we call over controller ad ViewModel.