본문 바로가기

멋있게걷는방법

검색하기
멋있게걷는방법
프로필사진 도현D

  • 분류 전체보기 (15)
    • iOS (11)
    • Tuist (3)
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
  • YGEnums.h
  • Xcode
  • Swift
  • fetchSignInMethods
  • FlexLayout
  • Automatic Reference Count
  • SPM
  • playground
  • Nan
  • Tuist
  • 회고
  • pagination
  • UITest
  • Github-Action
  • Firebase
  • Tuist-Action
  • HIG
  • ios
  • rc
  • HealthKit
  • alamofire
  • content-type
  • layoutSubviews
  • human interface guidelines
  • retain cycle
  • AppStore
  • arc
  • App Connect
  • authentication
  • garbage collection
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Instruments (1)

멋있게걷는방법

[Swift] 지금 바로 Pagination 을 적용해야 하는 이유

프로젝트에 단순 데이터를 불러오는 게 아닌, page 단위로 불러오면 메모리 효율을 아낄 수 있는데요, 이게 바로 Pagination 입니다. 무한스크롤이라고도 하죠. Pagination 은 메모리 효율을 아낄 수 있다고 했는데, 그 이유는 뭘까요? 들어가기 전에, tableView의 delegate, datasource로 tableView를 구성했다면 대부분 dequeueReusableCell를 이용해 재사용 셀을 구성했을 겁니다. 만약 Rx를 쓴다면? .drive(postTableView.rx.items(cellIdentifier: PostCell.identifier, cellType: PostCell.self)) { (row, data, cell) in 이런 식으로 쉽게 구현할 수 있었을 것입니다...

iOS 2023. 6. 8. 01:28
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바