{"repo":"exyte/ConcentricOnboarding","free":true,"listed":false,"github":"https://github.com/exyte/ConcentricOnboarding","clone":"git clone https://github.com/exyte/ConcentricOnboarding.git","description":"SwiftUI library for a walkthrough or onboarding flow with tap actions","language":"Swift","stars":1567,"topics":["ios","swiftui","onboarding","ui","cocoapods","swift","swift-library"],"license":"MIT","category":"mobile-apps","readme_excerpt":"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Concentric Onboarding iOS library for a walkthrough or onboarding flow with tap actions written with SwiftUI Usage 1. Create View 's descendant class for your pages. 2. Create at least two pages and fill them with content. 3. Create an array of tuple - (page, background color). 4. Create ConcentricOnboardingView and place it in your view hierarchy. 5. Pass duration as an argument if you want animation to be faster/slower 6. Pass icon name as an argument if you want to change default icon on the button Public interface goToNextPage(animated: Bool = true) - call this method manually if you need to goToPreviousPage(animated: Bool = true) - call this method manually if you need to Assignable closures .animationWillBegin - called before animation starts .animationDidEnd - called after animation ends .didGoToLastPage - called after animation leading to last page ends .didChangeCurrentPage - called after page changes .insteadOfCyclingToFirstPage - replaces default navigation to first page after pressing next on last page .insteadOfCyclingToLastPage - replaces default navigation to last page after pressing prev on first page while navigating backwards .didPressNextButton - replaces default button action with user's custom closure Examples To try the ConcentricOnboarding examples: - Clone the repo https://github.com/exyte/ConcentricOnboarding.git - Open ConcentricOnboardingExample.xcodeproj in the Xcode - Try it! Installation Swift Package Manager Requir","default_branch":null,"files":null,"tree":[],"storefront":"/r/exyte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/exyte/ConcentricOnboarding/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."}