开发者

Diff b/w viewController and modelViewController

开发者 https://www.devze.com 2023-01-26 04:44 出处:网络
please clear the concept of view controller and ModelV开发者_如何学编程iewControllerI guess you mean Mod*a*l View Controller. A Modal View Controller handles Modal Views which are basically views that

please clear the concept of view controller and ModelV开发者_如何学编程iewController


I guess you mean Mod*a*l View Controller. A Modal View Controller handles Modal Views which are basically views that pop out as a separate logical task. See the email app, the messaging app, alarms app. When you hit compose on mail, write new message on messages, add a new alarm or add a new contact on you contact list. See how the action behaves? A new view pops out and that is known as a modal view in the sense that it encompasses a task which is totally contained in it and needs to be done before exiting the view. A view controller is presented as a Modal View. Note that. Modal refers to the principle & why the view controller is presented so.

View Controllers are your plain vanilla handles for views as you might have already read along your learning curve.

0

精彩评论

暂无评论...
验证码 换一张
取 消