AHPagingMenuViewController 1.0. Menu Paging like UINavigationController used in Tinder! Highly customizable
Roughly hacked to leverage Font_Awesome_Swift as icons
let homeLabel = UILabel()
homeLabel.setFAIcon(icon: FAType.FAHome, iconSize: 32)
icons = [homeLabel.attributedText!,
homeLabel.attributedText!,
homeLabel.attributedText!,
homeLabel.attributedText!]
var AHController = AHPagingMenuViewController(controllers: [v1,v2,v3,v4,v5], icons: icons)
##Installation
- Add the AHPagingMenuViewController Folder into your project. Easy, easy!
Very easy! Just import the file
#import "AHPagingMenuViewController"
So, alloc with your controllers and titles (NSString or UIImage)
Obj-c
AHPagingMenuViewController *AHController = [[AHPagingMenuViewController alloc] initWithControllers: @[v1,v2,v3] andMenuItens:@[[UIImage imageNamed:@"photo"],[UIImage imageNamed:@"heart", @"Title"]];
Swift
var AHController = AHPagingMenuViewController(controllers: [v1,v2,v3,v4,v5], icons: ["Page 1", "Page 2", "Page 3", "Page 4", "Page 5"])
Easy, easy! See more in Demo!
MIT
Problems ? Suggestions? Send to me! andre.henrique@me.com. My Website Thank you! =D