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