今回はSwiftUIの画面レイアウトの基本です。 レイアウト用ビューの使い方と、複数のビューを組み合わせた場合の関係や効果をサンプルで解説します。 基本的な 1 HStackとVStack、2 ZStackだけでかなりのボリュームになってしまったので前編後編の二つに分けます。 ※この記事ではSwift言語(最新の5 ...
SwiftUIとは、2019年6月にAppleが発表した新しい開発フレームワーク(アプリを作るための機能・枠組)で、Xcode11から使えるようになりました。これまでの Storyboardよりもコードがシンプルで、画面作りもより簡単にできるようになりました。シミュレーターを ...
This project is a simple example of handling responder chain actions in SwiftUI views, implemented in the form of handling menu items registered elsewhere in the application. This is particularly ...
This repository provides a basic example of using SwiftUI to deploy both a native iOS/macOS app and a web app with shared UI and ViewModel components. This setup allows you to build and run a native ...
Update, October 3: Bitrig is offering unlimited prompts for Pro users for a limited time. Details below. A group of ex-Apple employees who co-created SwiftUI has launched a vibe coding iPhone app that ...