Swiftpack.co - Hengyu/Onboarding as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Hengyu.
Hengyu/Onboarding 3.0.2
A fluent user-interface for app onboarding experience
⭐️ 0
🕓 6 hours ago
iOS tvOS macCatalyst
.package(url: "https://github.com/Hengyu/Onboarding.git", from: "3.0.2")

Onboarding

Onboarding provides a fluent user-interface for app onboarding experience.

Screenshots

Requirements

Onboarding supports for iOS, macCatalyst and tvOS. The minimal system requirements are:

iOS 12.0, macCatalyst 13.0+, tvOS 12.0

Installation

Manual

Download the .zip from this repo and drag the /Sources/Onboarding folder into your project.

Swift Package Manager

In Xcode 14 or newer versions you can add packages by going to File > Swift Packages > Add Package Dependency. Copy in this repos URL and go from there.

Usage

Onboarding is super easy to get started with.

Simply follow the usage in the example file.

import Onboarding

// 1. Prepare a set of tips items
let items: [TipsItem] = [
    .init(title: "Intro", content: "This is the summary of the app", image: UIImage(named: "intro"))
]

// 2. Create a help page using the tips items
let helpPage: HelpPageViewController = .init(items: items)

// 3. Present the help page
presentingViewController.present(helpPage, animated: true)

Contribution

Contributions are welcomed, please feel free to submit pull requests.

License

Onboarding is published under MIT License. See the LICENSE file for more.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics