![Thumbnail of post image 184](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/06/PencilKit02-320x180.png)
Swift PencilKit、PKInkingTool.InkTypeの各種類の幅
PKInkingTool.InkTypeは、 .pencil .marker .pen があります。 各種類の デフォルトサイズ:.defaultWidth 指 ...
![Thumbnail of post image 141](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/apcg_20201220-320x180.png)
手帳「アクションプランナー」→「Planner」→オリジナル開発(その6)
iPad Pro用手帳アプリオリジナル作成 背景は前記事 「手帳「アクションプランナー」→「Planner」、最終的にはオリジナルへ」 不具合改修 ・イベントの ...
![Thumbnail of post image 162](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/modal01-320x180.png)
SwiftUI 使う時参考「.actionSheet」「.alert」「.sheet」「.fullScreenCover」「.popover」
コード ContentView.swift AdditionalView.swift .actionSheet iPadは「Cancel」は表示されません。 . ...
![Thumbnail of post image 093](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/sheet_fullscreencover-320x180.png)
SwiftUI .sheetと.fullScreenCover
.sheetと.fullScreenCoverは名前以外同じ書き方が出来る。 違いは、 .sheetはTopを触ってSwipe Downで閉じれる。 .full ...
![Thumbnail of post image 168](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/mpfilter-320x180.png)
Swift MPMediaPropertyPredicateでIsCloudItemをFilter
MPMediaPropertyPredicate iPhone本体にある曲を対象 MPMediaQuery.albums() albumCollectionsに ...
![Thumbnail of post image 191](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/mediaitem-320x180.png)
Swift MPMediaItem、プロパティ全表示
MPMediaItemの全プロパティ表示 全38種類 「General Media Item Property Keys」「User-Defined Prope ...
![Thumbnail of post image 154](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/stepper-320x180.png)
SwiftUI Stepper、イメージした形にするにはlabelだけでは出来なかった
Example(上) Example(下)別View作成
![Thumbnail of post image 084](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/text-field-320x180.png)
SwiftUI TextField、init、Localizable、Placeholder
init Example Code上同じに見えて違う。 上:(_ title: StringProtocol, ~ 下:(_ titleKey:Localize ...
![Thumbnail of post image 033](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/lockdisabled-320x180.png)
Swift 画面ロックしない(isIdleTimerDisabled=true)時のSplitView
画面ロックしない設定 SplitView時、指定したアプリがいれば画面ロックしない。
![Thumbnail of post image 056](https://kumonosu.cloudsquare.jp/wordpress/wp-content/uploads/2020/12/statebinding-320x180.png)
SwiftUI メインのViewとパーツのViewで値を共有
メインのViewとパーツのViewで値を共有したい。 →@Stateと@Binding