GHWalkThrough
A UICollectionView backed drop-in component for introduction views.
Classification: GHWalkThrough
Platform: IOS
Language: Swift
Language: Swift
Device:
iPhone / iPad
MIT
Licence:
Download
Installation
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
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.
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
Sample app contains examples of how to configure the component
- Add
GHWalkThroughViewandGHWalkThroughPageCellheaders and implementations to your project (4 files total). - Include with
#import "GHWalkThroughView.h"to use it wherever you need. - Set and implement the
GHWalkThroughViewDataSourceto 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;
}
// 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;
}


