GithubHelp home page GithubHelp logo

ulankz / ghwalkthrough Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gnosishub/ghwalkthrough

0.0 1.0 0.0 5.47 MB

A UICollectionView backed drop-in component for introduction views

License: MIT License

Objective-C 100.00%

ghwalkthrough's Introduction

#GHWalkThrough - iOS App Walk through control

alt tag alt tag alt tag alt tag

This is simple and customizable drop-in solution for showing app walkthroughs or intros.

  • Configurable to walk through in horizontal and vertical directions
  • Support for having custom floating header on all pages
  • Supports fixed background image

##How To Use

Sample app contains examples of how to configure the component

  • Add GHWalkThroughView and GHWalkThroughPageCell headers and implementations to your project (4 files total).
  • Include with #import "GHWalkThroughView.h" to use it wherever you need.
  • Set and implement the GHWalkThroughViewDataSource to provide data about the pages.

Sample Code

// Creating
    GHWalkThroughView* ghView = [[GHWalkThroughView alloc] initWithFrame:self.view.bounds];
	[ghView setDataSource:self];

// Implementing data source methods
(NSInteger) numberOfPages
{
    return 5;
}

- (void) configurePage:(GHWalkThroughPageCell *)cell atIndex:(NSInteger)index
{
    cell.title = @"Some title for page";
    cell.titleImage = [UIImage imageNamed:@"Title Image name"];
    cell.desc = @"Some Description String";
}

- (UIImage*) bgImageforPage:(NSInteger)index
{
    UIImage* image = [UIImage imageNamed:@"bgimage"];
    return image;
}

##Credits

For inspiration

###License :

The MIT License

ghwalkthrough's People

Contributors

christianroman avatar sononum avatar tapasya avatar

Watchers

 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.