본문 바로가기

Programming/Swift

Class: UIControl

The base class for controls, which are visual elements that convey a specific action or intention in response to user interactions.

 

Declaration

class UIControl : UIView

Overview

Controls implement elements such as buttons and sliders, which your app can use to facilitate navigation, gather user input, or manipulate content. Controls use the target-action mechanism to report user interactions to your app.

Figure 1 Examples of UIKit controls

 

 

var isEnabled: Bool
A Boolean value indicating whether the control is in the enabled state.

'Programming > Swift' 카테고리의 다른 글

UIStackView  (0) 2020.10.15
Delegation  (0) 2020.10.15
Difference between viewdidappear and viewwillappear in swift  (0) 2020.10.14
IBAction and IBOutlet  (0) 2020.10.14
Storyboard 추가하기  (0) 2020.10.14