Thumbnail of post image 070

Swift

LazyVGridでGeometryReaderを使用する ダメな例 ScrollViewとLazyVGridの間にGeometryReaderを入れたケース。 ...

Thumbnail of post image 123

Swift

Font Structureのstaticメソッドを使用します。 static func system(size: CGFloat, weight: Font. ...

Thumbnail of post image 015

Swift

やりたい事 ①枠内どこでも反応 ②Tap:Tap用のアクション ③Long Press:Long Press用のアクション 1stアクション コード 結果 やり ...

Thumbnail of post image 193

Swift

以前の記事「SwiftUI Stepper、イメージした形にするにはlabelだけでは出来なかった」に登場していたNumberPlusMinusInputVie ...

Thumbnail of post image 119

Swift

リスト内をランダムで並べ替える Swift Algorithmが便利。 Swift Algorithm準備 Swift Packagesで追加する。 Examp ...

Thumbnail of post image 195

Swift

アプリに対応した設定画面を開く アプリのボタンアクションに下記コードを入れる。 設定画面に遷移します。

Thumbnail of post image 089

Swift

iPadアプリ、M1 Mac上での動作なのか判断する やりたい事、M1 MacでiPadアプリを動かすときにorientationを固定したい。 上記で判断つく ...

Thumbnail of post image 127

Swift

UITextFieldに独自キーボード NumberInputViewや細かい処理は省略。 上部のショートカットバーを非表示にする UITextFieldのin ...

Thumbnail of post image 140

Swift

Device Orientationをコードで制限するには プロジェクトファイルのTARGETS-General-Deployment InfoのDevice ...

Thumbnail of post image 070

Swift

iPad mini 4、iPad Pro 11inch 2nd、iPad Pro 12.9 4thを一画面で確認出来るのはデザイン比較に便利 28インチ(384 ...