
위와 같은 CollectionView를 Storyboard 없이 코드를 사용해서 구현해보자. Autolayout은 SnapKit을 사용했다. 1. UICollectionViewCell 생성 먼저 CollectionView에 사용할 UICollectionViewCell을 만들었다. CollectionViewCell.swift // // CollectionViewCell.swift // CollectionView_Programmatically_Tutorial import UIKit import SnapKit class CollectionViewCell: UICollectionViewCell { // Reuse Identifier static let cellId = "CollectionCellId" // Se..
iOS
2022. 7. 20. 14:18
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 2023 회고
- sheetPresentationController
- BOJ 10808
- BOJ 1935
- UICollectionView banner
- UICollectionView Error
- BOJ 10820
- github
- crud
- BOJ 17413
- ios
- Carousel Effect
- Sheet Height
- NaverMaps
- BOJ 10866
- swift
- Custom Detent
- BOJ 10809
- BOJ 10799
- autolayout
- BOJ 17298
- 1406 에디터
- git
- Card CollectionVIew
- Stack
- Algorithm
- bottom sheet
- 요시푸스
- CAGradientLayer
- Gradient View
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함