UIView vs UIViewController

后端 未结 3 869
[愿得一人]
[愿得一人] 2020-12-02 17:11

Ok so i am realllly new to the iphone development and i\'ve gotten pretty far for my knowledge. I just need help deciding how to program these 4-6 pictures into my project.

3条回答
  •  独厮守ぢ
    2020-12-02 18:04

    You will use both. Cocoa Touch development follows the MVC (Model, View, Controller) methodology. It is a way of separating code logic and user interface elements. UIView is where you handle what it looks like, UIViewController is the class where you handle events. If you want the easiest way to swipe through many pages of content, look into the UIPageControl.

提交回复
热议问题