Skip to content

jaimeagudo/AHPagingMenuViewController

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AHPagingMenuViewController

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)

Demo

AHPagingMenuViewController AHPagingMenuViewController

##Installation

  1. Add the AHPagingMenuViewController Folder into your project. Easy, easy!

How Use

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!

Licence

MIT

Author

Problems ? Suggestions? Send to me! andre.henrique@me.com. My Website Thank you! =D

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 54.1%
  • Swift 45.9%