
SwiftUI StoreKit SubscriptionStoreView 学習その1
onInAppPurchaseStartとonInAppPurchaseCompletionのコールされるタイミングは画像の通り。 onInAppPurchas ...

アプリを通じて世界中の開発者と共有「Fabula for SwiftUI」
Fabula for SwiftUI iPadとMacアプリがあります。 Falbula GitHub: SwiftUIのコードサンプル集です。 GitHub経 ...

Swift Dateを取得可能なDateComponentsを生成する
calendarプロパティを設定する、しないで結果が変わる calendarプロパティは必要 ドキュメントより(DeepL翻訳) 注意 DateComponen ...

SwiftUI .gestureモディファイア(modifier)でスワイプ(swipe)の種類判断
DragGestureの位置情報から角度を計算、スワイプ(swipe)の種類を判断する。 計算と角度範囲は図を参照。 スワイプ(swipe)の種類 up:下から ...

Swift Vapor Bootstrapを適用
Bootstrap CSSインポート、ボタン装飾 準備 「app.middleware.use(FileMiddleware(publicDirectory: ...

Swift Vapor Form(method:get)による送信と結果表示
Vapor Formによる送信と結果表示をまとめる。 APIドキュメント: 入力画面(Form) Resources/Views/exampleformget. ...

Swift Vapor Form(method:post)による送信と結果表示
Vapor Formによる送信と結果表示をまとめる。 APIドキュメント: 入力画面(Form) Resources/Views/exampleform.lea ...

Swift UIInterfaceOrientationMaskの値
UIInterfaceOrientationMaskドキュメント

Swift 2進数出力のゼロサプレス 改:指定桁数で区切り表示
初版記事:Swift 2進数出力のゼロサプレス 出力:00110 見やすくするために4桁で区切りたい。 ゴール:0 0110 対応 出力:0000 0110 出 ...

Swift Vapor 新規プロジェクト作成 -nオプション無しの例
新規プロジェクト作成で-nオプションなし時は、FluentとLeafの使用有無を確認される。 Fluent ドキュメントページより。 FluentはSwiftの ...