본문 바로가기

Daeng iOS

검색하기
Daeng iOS
프로필사진 U_Daeng

  • 분류 전체보기 (61)
    • IOS (28)
      • UIKit (13)
      • Swift (13)
      • 기타 (2)
    • Git (4)
    • Android (0)
      • Java (0)
    • 알고리즘 & 코딩테스트 (29)
      • CodeUp : Python 기초 100제 (8)
      • 코테 후기 (0)
      • 프로프래머스 (21)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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()
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Segue (1)

Daeng iOS

[iOS/UIKit] xib 파일로 테이블뷰 연결 후 터치이벤트&화면전환

테이블뷰 셀을 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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바