Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- zip()
- 코딩테스트
- 알고리즘
- IOS
- GIT
- 프로그래머스
- 클론코딩
- uisearchbar
- Info.plist
- joined()
- github
- tableView
- suffix()
- String()
- xib
- 코드업 파이썬 기초 100제
- MVC
- API
- 싱글톤
- alamofire
- 대문자소문자
- 라이징캠프
- swift
- replacesubrange()
- Autolayout
- components()
- reduce()
- Segue
- uikit
- prefix()
Archives
- Today
- Total
목록Segue (1)
Daeng iOS

테이블뷰 셀을 xib로 연결했을 때 터치이벤트 구현하는 방법을 정리하려고 합니다~! 먼저 화면전환을 segue로 연결하고 Attributes inspector 에서 Identifier 을 지정해준다 [테이블뷰가 있는 컨트롤러] func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { //터치이벤트 performSegue(withIdentifier: "detail", sender: indexPath.row) } override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if segue.identifier == "detail"{ let destination = ..
IOS/UIKit
2022. 12. 2. 22:26