2020-10-15から1日間の記事一覧
stackoverflow.com 指定できるフォントを調べるには for family in UIFont.familyNames.sorted() { let names = UIFont.fontNames(forFamilyName: family) print("Family: \(family) Font names: \(names)") } フォントの指定は Text("acccdefああ投稿").fon…
makeUIView, updateUIView, makeCoordinatorを実装する。Coordinatorはdelegateを処理する。 import UIKit import Combine // https://www.appcoda.com/swiftui-textview-uiviewrepresentable/ struct EditView: UIViewRepresentable { @Binding var text: S…