Giter Club home page Giter Club logo

tutti's Introduction

Version Platform Swift 5.1 License Twitter: @danielsaidi

About Tutti

Tutti is a Swift library that helps you create onboarding expericences, like quick hints and single- or multi-screen tutorials.

Tutti will only display a hint/tutorial once by default. You can reset the display state of a hint/tutorial if you want to display it multiple times.

Tutti also supports user-specific hints/tutorials. Just set the userId parameter and Tutti will display the hint/tutorial once for every new user.

Install

Swift Package Manager

The easiest way to add Tutti to your project is to use Swift Package Manager:

https://github.com/danielsaidi/Tutti.git

CocoaPods

pod 'Tutti'

Carthage

github "danielsaidi/Tutti"

Manual

To manually add Tutti to your app without a dependency manager, clone this repository, add Tutti.xcodeproj to your project and Tutti.framework as an embedded app binary and target dependency.

Demo App

This repository contains a demo app that demonstrates different types of hints and tutorials. To try it out, open and run the Tutti.xcodeproj project.

Hints

Tutti comes with a set of built-in hint types that can be used for different purposes.

  • StandardHint - A basic hint with no specific behavior.
  • DeferredHint - Requires a certain number of presentation attempts before it is presented.
  • CorrectBehaviorHint - Can be used to show a hint when a user is not behaving as intended.

You can also create your own custom hint types by implementing the Hint protocol.

Check out this guide for more information on how to create and present hints.

Tutorials

Tutti comes with a set of built-in tutorial types that can be used for different purposes.

  • StandardTutorial - A basic tutorial with no specific behavior.
  • DeferredTutorial - Requires a certain number of presentation attempts before it is presented.
  • CorrectBehaviorTutorial - Can be used to show a tutorial when a user is not behaving as intended.

You can also create your own custom tutorial types by implementing the Tutorial protocol.

Check out this guide for more information on how to create and present tutorials.

Contact me

I hope you like this library. Feel free to reach out if you have questions or if you want to contribute in any way:

License

Tutti is available under the MIT license. See LICENSE file for more info.

tutti's People

Contributors

danielsaidi avatar sebbo176 avatar saiedkia avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.