{"repo":"xmartlabs/PagerTabStripView","free":true,"listed":false,"github":"https://github.com/xmartlabs/PagerTabStripView","clone":"git clone https://github.com/xmartlabs/PagerTabStripView.git","description":"🚀 Elegant Pager View fully written in pure SwiftUI.","language":"Swift","stars":845,"topics":["pagerview","swiftui","swiftui-components","xlpagertabstrip","pagertabstripview","swiftui-pager","pager"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Made with :heart: by Xmartlabs team. XLPagerTabStrip for SwiftUI! Introduction PagerTabStripView is the first pager view built in pure SwiftUI. It provides a component to create interactive pager views which contains child views. It allows the user to switch between your views either by swiping or tapping a tab bar item. Unlike Apple's TabView it provides: 1. Flexible way to fully customize pager tab views. 2. Each pagerTabItem view can be of different type. 3. Bar that contains pager tab item is placed on top. 4. Indicator view indicates selected child view. 5. Ability to update pagerTabItem according to highlighted, selected, normal state. 6. Ability to embed one page within another and not breaking scroll behavior. 7. Ability to update UI according page selection and transition progress among pages. Usage Creating a page view is super straightforward, you just need to place your custom tab views into a PagerTabStripView view and apply the pagerTabItem modifier to each one to specify its navigation bar tab item. The tag parameter is the value to identify the tab item. It can be any Hashable value and it must be unique. To specify the initial selected page you can pass the selection init parameter (for it to work properly this value have to be equal to some tag value of the tab items). As you may've already noticed, everything is SwiftUI code, so you can update the child views according to SwiftUI state objects as shown above with if User.isLoggedIn . The user can also confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/xmartlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xmartlabs/PagerTabStripView/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}