Skip to content

A simple pageViewcontroller has same behavior like Instagram notification tab.

Notifications You must be signed in to change notification settings

vienvu89/VTPageViewControler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VTPageViewControler

Build Status

A simple pageViewcontroller has same behavior like Instagram notification tab.

Alt text

#Usage

Clone project and drag two files:

VTPageViewController.h
VTPageViewController.m 

to your project.

#import "VTPageViewController.h"
.
.
.


//Creat List Controller
//Create List title match with each controller above

self.controller = [[VTPageViewController alloc] initWithControllers:ListController titleEachController:List Title];

//Cusomize for attribute you want

_controller.colorBackgroundIndicator = [UIColor yellowColor];
_controller.heightSegment  = 50;
_controller.heightIndicator = 5;
_controller.fontTitle = [UIFont fontWithName:@"Futura-CondensedMedium" size:15];
_controller.fontSizeTitle = 13;

//Add to parent view
[self addChildViewController:_controller];
[self.view addSubview:_controller.view];
[_controller didMoveToParentViewController:self];

More attributes for custom see in VTPageViewController.h file.

Licence

MIT

About

A simple pageViewcontroller has same behavior like Instagram notification tab.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published