본문 바로가기

seong_hye, the developer

검색하기
seong_hye, the developer
프로필사진 seong_hye

  • My P_Life (118) N
    • JAVA (3)
    • 알고리즘 코드 (3)
    • IOS (99) N
      • SwiftUI (25)
      • UIKit (13) N
      • Error (7)
    • Infomation (6)
      • Firebase (1)
      • Git (1)
    • Daily Life (3)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
일 월 화 수 목 금 토
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
Tags
  • Git
  • NotificationCenter
  • SWIFTUI
  • class
  • segue
  • mvvm
  • 글또
  • protocol
  • calendar
  • ScrollView
  • array
  • escaping
  • struct
  • Observer
  • IOS
  • PushNotification
  • 화면전환
  • list
  • error
  • uikit
  • viewlifecycle
  • Switch
  • apns
  • singleton
  • Animation
  • Refresh
  • SWIFT
  • 고차함수
  • http
  • self
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록uicollectionviewlayout (1)

seong_hye, the developer

UIKit) UICollectionvView - layout vs flowlayout

UICollectionView 속에는 UICollectionViewLayout과 UICollectionViewFlowLayout이 있어사용할 때 헷갈려서 한번 이 둘의 차이에 대해 한 번 정리해보려고 한다.📘 UICollectionViewLayout - 추상 클래스 (설계도)모든 레이아웃의 기반이 되는 추상 클래스직접 사용하는 경우는 드물고, 서브클래싱해서 커스텀 레이아웃을 만들 때 사용함이 클래스를 상속해서 자신만의 layout behavior를 정의할 수 있음 🔍 주요 역할- 셀의 위치 및 크기 계산 (layoutAttributesForElements)- 콘텐츠 사이즈 제공 (collectionViewContentSize)- 레이아웃 무효화 처리 (shouldInvalidateLayout .....

IOS/UIKit 2022. 11. 6.
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바