GnosisHub / GHWalkThrough

A UICollectionView backed drop-in component for introduction views
MIT License
707 stars 55 forks source link

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.

How To Use

Sample app contains examples of how to configure the component

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