티스토리 뷰
반응형
Control Event(컨트롤 이벤트) 종류
컨트롤이 발생했을 때 그 컨트롤의 종류를 의미하며 UIControl에 Event라는 타입으로 정의되어 있습니다.
컨트롤 객체에 발생할 수 있는 이벤트의 종류
이벤트 종류 설명 표현법 touchDown 컨트롤을 터치했을 때 발생하는 이벤트 UIControl.Event.touchDown touchDownRepeat 컨트롤을 연속 터치(반복) 할 때 발생하는 이벤트 UIControl.Event.touchDownRepeat touchDragInside 컨트롤 범위 내에서 터치한 영역을 드래그 할 때 발생하는 이벤트 UIControl.Event.touchDragInside touchDragOutside 터치 영역이 컨트롤의 바깥쪽에서 드래그 할 때 발생하는 이벤트 UIControl.Event.touchDragOutside touchDragEnter 터치 영역이 컨트롤의 일정 영역 바깥쪽으로 나갔다가 다시 들어왔을 때 발생하는 이벤트 UIControl.Event.touchDragEnter touchDragExit 터치 영역이 컨트롤의 일정 영역 바깥쪽으로 나갔을 때 발생하는 이벤트 UIControl.Event.touchDragExit touchUpInside 컨트롤 영역 안쪽에서 터치 후 뗐을때 발생하는 이벤트 UIControl.Event.touchUpInside touchUpOutside 컨트롤 영역 안쪽에서 터치 후 컨트롤 밖에서 뗐을때 이벤트 UIControl.Event.touchUpOutside touchCancel 터치를 취소하는 이벤트 (touchUp 이벤트가 발생되지 않음) UIControl.Event.touchCancel valueChanged 터치를 드래그 및 다른 방법으로 조작하여 값이 변경되었을때 발생하는 이벤트 UIControl.Event.valueChanged primaryActionTriggered 버튼이 눌릴때 발생하는 이벤트 (iOS보다는 tvOS에서 사용) UIControl.Event.primaryActionTriggered editingDidBegin UITextField에서 편집이 시작될 때 호출되는 이벤트 UIControl.Event.editingDidBegin editingChanged UITextField에서 값이 바뀔 때마다 호출되는 이벤트 UIControl.Event.editingChanged editingDidEnd UITextField에서 외부객체와의 상호작용으로 인해 편집이 종료되었을 때 발생하는 이벤트 UIControl.Event.editingDidEnd editingDidEndOnExit UITextField의 편집상태에서 키보드의 return 키를 터치했을 때 발생하는 이벤트 UIControl.Event.editingDidEndOnExit allTouchEvents 모든 터치 이벤트 UIControl.Event.allTouchEvents allEditingEvents UITextField에서 편집작업의 이벤트 UIControl.Event.allEditingEvents applicationReserved 각각의 애플리케이션에서 프로그래머가 임의로 지정할 수 있는 이벤트 값의 범위 UIControl.Event.applicationReserved systemReserved 프레임워크 내에서 사용하는 예약된 이벤트 값의 범위 UIControl.Event.systemReserved allEvents 시스템 이벤트를 포함한 모든 이벤트 UIControl.Event.allEvents
Reference: BoostCourse iOS 앱개발 - by 야곰
반응형
'iOS 앱개발 > iOS' 카테고리의 다른 글
[iOS] - Table View & Collection View (테이블 뷰, 컬렉션 뷰) (0) | 2021.04.13 |
---|---|
[iOS] - Stanford CS193p iOS 강의 3강 정리 by Paul Hegarty (0) | 2021.04.08 |
[iOS] - Stanford CS193p iOS 강의 2강 정리 by Paul Hegarty (0) | 2021.04.05 |
[iOS] - Stanford CS193p iOS 강의 1강 정리 by Paul Hegarty (0) | 2021.04.02 |
[iOS] - Anatomy of a Constraint in Auto Layout (0) | 2021.03.31 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 미로 탐색#백준알고리즘#Python
- django#slicing
- Distinct#Codility#Python
- 섬의개수#백준알고리즘#Python
- 백준 알고리즘#BackTracking
- Triangle#Sorting#Codility#Python
- NumberofDiscIntersections#Codility#Sort#Python
- PassingCars#Codility#Python
- 날짜 계산#BOJ#완전탐색#Python
- 반복수열#백준알고리즘#Python
- 배열합치기#분할정복#BOJ#Python
- 순열사이클#BOJ#Python
- 토마토#백준알고리즘#Python
- N으로 표현#DP#Programmers#Python
- 나무자르기#BOJ#이분탐색#Python
- API#lazy#
- 종이자르기#분할정복#BOJ#Python
- 쿼드트리#BOJ#분할정복#Python
- 파이썬알고리즘인터뷰#4장
- filter#isalnum#lower
- 랜선자르기#이분탐색#BOJ#Python
- 리모컨#완전탐색#BOJ#Python
- 터틀비치#리콘#xbox#controller
- Swift#Tuples#Range
- Brackets#Stacks and Queues#Codility#Python
- 텀 프로젝트#백준알고리즘#Python
- django
- 병든 나이트#BOJ#탐욕법#Python
- 공유기 설치#BOJ#이분탐색#Python
- 암호코드#dp#BOJ#Python
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함