일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- HIG
- collectionview
- Clean Code
- Xcode
- tableView
- map
- ios
- MVVM
- 리팩토링
- ribs
- 리펙터링
- Human interface guide
- uiscrollview
- swiftUI
- 스위프트
- swift documentation
- Observable
- 클린 코드
- uitableview
- rxswift
- 애니메이션
- clean architecture
- combine
- RxCocoa
- Refactoring
- SWIFT
- UITextView
- UICollectionView
- Protocol
- 리펙토링
- Today
- Total
목록table view (3)
김종권의 iOS 앱 개발 알아가기
Custom Cell 셀에 들어갈 Model생성 (용도 - bind할 때 인수로 넘길 객체) // // TitleModel.swift // Testtes // // Created by 김종권 on 2020/11/01. // Copyright © 2020 jongkwon kim. All rights reserved. // import Foundation struct TitleModel { let title: String let subTitle: String } cocoa touch class -> "Also create XIB file"체크 후 넥스트 각 UI배치 및 hugging, compression 설정 (Description이 길어질 수 있으므로, Title의 hugging, compression모..
(위와 같이 데이터가 없는 곳에도 줄 간격이 생기므로, 이것을 제거하려면 다음 코드를 추가) self.tableView.separatorStyle = .none * table view를 custom 한다는 것 UITableViewCell을 상속받아서 custom 1. UITableCell을 상속받아서 custom - contentView.addSubview(객체)로 추가, autolayout 설정, 56~57 라인 2. UITableView객체 생성 및 초기화 1) 기존 UItableView객체에 등록할 것 : custom한 cell의 classForCoder()를 선언, 16번 라인 객체.register(CSTableCell.classForCoder(), foeCellReuseIdentifier: "m..
1. 테이블 뷰가 나온 배경 - 방대한 콘텐츠를 표현하기 위함 - 테이블 뷰의 완성 = 테이블 뷰 + 섹션1(테이블 뷰 셀 + 콘텐츠 뷰) + 섹션2(테이블 뷰 셀 + 콘텐츠 뷰) + 섹션n(...) 2. 일반적인 테이블 뷰 - 테이블 뷰 셀의 종류 : Basic, Right Detail, Left Detail, Subtitle, Custom 1) 테이블 뷰 생성 : UITableViewController - 통째로 테이블 뷰 생성 : 스토리보드에서 UITablewView 드래그엔 드롭 cf) UITableViewController가 아닌, UIViewController에서 테이블 뷰 생성 : (1) ~ (4)작업 (delegate, datasource, table view 각 추가) (1) "Table..