Pinned Loading
-
-
-
Swift 個人用コードまとめ
Swift 個人用コードまとめ 1#### コードから利用できるUIViewを作成する
2```swift
3import UIKit
45final class CommonSectionHeader: UIView {
-
iOS14でCollectionViewCellにSwiftUIで作成し...
iOS14でCollectionViewCellにSwiftUIで作成したViewを表示する 1- iOS16以降はUIHostingConfigurationを使うと良いです。
2- 再利用の際にUIHostingのセットアップをしなおしているので、処理がやや重そうです。
34```swift
5final class HostingContentViewConfiguration<T: View>: UIContentConfiguration {
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.