-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️#294: ScrollView 안 CollectionView contentSize 업데이트 이슈로 인해 UITableVi…
…ew로 변경 작업 처리 - 기존 Diffable DataSource 로직 변경 없음 - Compositional Layout 제거
- Loading branch information
Showing
5 changed files
with
83 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
StreetDrop/StreetDrop/Presentation/MyPage/View/MusicListTableView.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// MusicListTableView.swift | ||
// StreetDrop | ||
// | ||
// Created by thoonk on 7/12/24. | ||
// | ||
|
||
import UIKit | ||
|
||
final class MusicListTableView: UITableView { | ||
override var intrinsicContentSize: CGSize { | ||
layoutIfNeeded() | ||
return contentSize | ||
} | ||
|
||
override var contentSize: CGSize { | ||
didSet { | ||
invalidateIntrinsicContentSize() | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters