DuoKit:可執行的 SwiftUI 課程,講解如何圍繞摺痕佈局
獨書先生的 DuoKit 是 12 個用於自適應佈局的開源 SwiftUI 示例。它們可以在普通 iPhone 上配合模擬的 Duo 執行;其中的摺痕避讓示範可在合上、書本和展開平放之間切換,並把按鈕移離轉軸。
作者 独书先生 添加於 在 github.com 檢視原文
DuoKit 已收錄在 iPhone Duo 開發者工具裡,附有安裝方法。 檢視工具
這個創意屬於 独书先生。FoldHunt 通過 X 的嵌入資料(或創作者自己的播放器和頁面)展示這條貼文,不儲存其媒體的任何副本。 為摺疊螢幕做了點什麼?發給我們。
更多創意
整面創意牆The Duo split keyboard looks crazy on the typewriter! When folded, the keyboard splits around the hinge, keeping Apple’s reserved region clear (design guidelines) Wdyt ?
Here's some more iPhone Duo interactions in 𝚛𝚎𝚊𝚌𝚝-𝚗𝚊𝚝𝚒𝚟𝚎-𝚜𝚌𝚛𝚎𝚎𝚗𝚜 ✅ Split Columns adapt to the half-folded mode ✅ Tabs move to the side also when nested inside other containers ✅ Search Field moves to the trailing edge when half-folded