본문 바로가기

seong_hye, the developer

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

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

목록lazyvgrid (1)

seong_hye, the developer

SwiftUI) LazyVGrid & LazyHGrid 알아보기

UIKit 에서는 COllectionView를 활용그렇다면 SwiftUI에서는 어떻게 할 수 있을까?📘 LazyVGrid & LazyHGridUICollectionView처럼 그리드 형태의 레이아웃을 수직(V) - 수평(H) 방향으로 스크롤 할 수 있게 해주는 컴포넌트 게으른(Lazy) 방식으로 화면에 보이는 셀만 그려서 성능을 높이는 방식 🔹 기본 코드✅ 세로 2열 컬렉션 뷰let columns = [GridItem(.flexible()), GridItem(.flexible())] //2열ScrollView { LazyVGrid(columns: columns, spacing: 15) { ForEach(0.. ✅ 가로 2열 컬렉션 뷰let rows = [GridItem(.fixed(100)),..

IOS/SwiftUI 2022. 8. 23.
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바