Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

화면의 콘텐츠를 표시하는 로직과 관리를 담당하는 객체를 무엇이라고 하는가? #90

Closed
MoSonLee opened this issue Mar 15, 2023 · 0 comments

Comments

@MoSonLee
Copy link
Owner

UIViewController

  • 간단히 단어 뜻 그대로 해석해보면 앱의 View(뷰)를 + Controller(관리) 해주는 객체라고 보면 된다.
  • 모든 어플리케이션은 최소 하나 이상의 뷰 컨트롤러로 구성되어 있는 것을 볼 수 있다.
  • UIKit으로 제작된 앱의 뷰계층구조를 관리하는 객체.
  • 화면위에 보여지게될 UIView들의 로직과 관리를 담당하게 된다
  • 처음 짠 뷰를 있는 그대로 계속 유지하는 경우는 많지 않다. 뷰의 변경, 혹은 action등을 처리해주는 곳이라고 보면 된다.

UIView

  • 화면 위의 콘텐츠를 관리하기 위한 사각형 영역 객체
  • 사용자에게 보일 UILabel, UIButton과 같은 화면 구성요소들을 모두 UIView라고 한다.
  • 이러한 객체들을 관리하기 위한 객체가 UIViewController이다.
  • 목적에 따라 Label, Image, Text, Button, Color 등 다양한 종류로 존재한다.!
  • ViewController 위에 View객체가 쌓이는 형태로 구성된다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant