Understanding MVC pattern used in iOS apps

后端 未结 5 1230
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 11:41

I have read Apple\'s MVC article and am confused about various things. Firstly Apple uses a combination of the View and the Controller in almost all its sample applications whi

5条回答
  •  南笙
    南笙 (楼主)
    2021-01-30 12:04

    I believe that the following code will help you understand how to work with MVC in iOS application because its description says:

    "MVCNetworking is a sample that shows how to create a network application using the Model-View-Controller design pattern. Specifically, it displays a photo gallery by getting the gallery's XML description, thumbnails and photos from a web server, and uses Core Data to cache this information locally."

    http://developer.apple.com/library/ios/#samplecode/MVCNetworking/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010443

提交回复
热议问题