![Thumbnail of post image 032](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2023/11/swiftui_gesture_swipe.jpeg-320x180.png)
SwiftUI .gestureモディファイア(modifier)でスワイプ(swipe)の種類判断
DragGestureの位置情報から角度を計算、スワイプ(swipe)の種類を判断する。 計算と角度範囲は図を参照。 スワイプ(swipe)の種類 up:下から ...
![Thumbnail of post image 183](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2023/10/contentMarginsDisabled.jpeg-320x180.png)
SwiftUI Widget「.contentMarginsDisabled()」ありとなし、iOS 16.4とiOS 17
WidgetでiOS 16時代とデザインというか「GeometryReader」で取得出来るサイズが変わった。 調査した結果「.contentMarginsDi ...
![Thumbnail of post image 094](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2023/10/UIViewControllerRepresentable_example.jpeg-1-320x180.png)
間違っていたUIViewControllerRepresentableの使い方
SwiftUIでUIDocumentPickerViewControllerを使うため、UIViewControllerRepresentableを使用していた ...
![Thumbnail of post image 123](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/06/PencilKit02-320x180.png)
Swift PencilKit、PKInkingTool.InkTypeの各種類の幅【iPad OS 17.0更新】
PKInkingTool.InkTypeは、 .marker .pencil .pen .monoline .fountainPen(カリグラフィーペン) .w ...
![Thumbnail of post image 055](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2023/03/list_separator-320x180.png)
SwiftUI Listセパレーター線の謎、文字を先にすることで暫定対処!?
コード 結果 ImageのsystemImageのみ:線あり HStackでImage+Text:Imageの下に線なし HStackでText+Image:線 ...
![Thumbnail of post image 038](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2021/03/swift_logo.png)
SwiftUI UIViewRepresentableでPDFView その1:はじめの一歩
その1:はじめの一歩 ドキュメント: ContentView.swift PDFViewRepresentable.swift
![Thumbnail of post image 137](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2023/01/popup3-320x180.png)
SwiftUI sheet表示、GeometryReader使用、VStackのみの状態と同じにする→sheetのサイズが知りたい
目的 sheetのサイズが知りたい 単純にGeometryReaderを挿入すると、デザインが崩れる。 元のデザインを使用出来る方法、sheetのサイズをデザイ ...
![Thumbnail of post image 108](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2022/12/pc_lock_rc-320x180.png)
SwiftUI WidgetKit ロック画面用をつくる
公式ドキュメント「Creating Lock Screen Widgets and Watch Complications」 画像は「.accessoryCir ...