SwipePageChanger
This app is a sample app that links the tab displayed in the Navigation Bar and the paging of the content. The Tab part is scrollable, and the corresponding Tab is displayed with animation in the center of the screen by paging. In SwiftUI, it's relatively easy to implement because we can easily access the NavigationBar part.
Install / Use
/learn @MilanistaDev/SwipePageChangerREADME
SwipePageChanger
This app is a sample app that links the tab displayed
in the Navigation Bar and the paging of the content.
The Tab part is scrollable, and the corresponding Tab is
displayed with animation in the center of the screen by paging.
In SwiftUI, it's relatively easy to implement
because we can easily access the NavigationBar part.
このアプリは NavigationBar に表示されたタブと
コンテンツのページングが連動するサンプルアプリです。
Tab 部分はスクロール可能になっていて,ページングにより
対応する Tab が画面中央にアニメーションありで表示されます。
SwiftUI では NavigationBar 部分に容易にアクセスできるため比較的実装しやすいです。
Sample GIF and Images
The theme of this app is the Tokyo Metro Marunouchi Line of the Tokyo subway.
Since it is a sample application, the content is static and common to all stations.
|Add New Page & Paging|Select tab|
|:--:|:--:|
|
|
|
|Light|Dark|
|:--:|:--:|
||
|
Environment
- Xcode 13
- iOS 14 and later
- SwiftUI(2+)
Point of implementation
toolBarmodifier andToolbarItemScrollViewReaderTabView'sPageTabViewStyleselection(Status of selected item)
Article
Qiita Advent Calendar 2021 "iOS" Day 20.
https://qiita.com/MilanistaDev/items/09809b38dc8b23efa9ac
Contact
Please feel free to contact us if you find a bug or have any feedback.
Suggestions for adding functions and code corrections are also welcome.
let name = "Takuya Aso"
let email = "milanista224" + "@" + "icloud.com"
let profession = "iOS Engineer"
let location = "Tokyo"
Related Skills
qqbot-channel
348.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.2k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
348.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
