UIKit Fundamentals
UIView, UIViewController, outlets, actions, storyboards, navigation, interface builder
1What is a UIView?
What is a UIView?
답변
UIView is the base class for all visual components in UIKit. It handles on-screen rendering, touch interactions, and view hierarchy. Every user interface in an iOS application relies on this fundamental class to structure and display content.
2What is a view hierarchy?
What is a view hierarchy?
답변
A view hierarchy is the tree organization of UIViews in an iOS application. Each view can contain subviews, forming a parent-child structure. This organization determines the display order, touch event propagation, and layout management of elements on screen.
3What is a UILabel?
What is a UILabel?
답변
UILabel is a UIKit component that displays static or dynamic text on screen. Unlike UITextField, a UILabel cannot be edited by the user. It is ideal for displaying titles, descriptions, or any non-interactive text content in a user interface.
What is the purpose of a UIButton?
What is the role of a UIImageView?
+15 면접 질문