Latest 1.2.0
Homepage https://github.com/duylinh158/DLPageMenu
License MIT
Platforms ios 9.0
Frameworks Foundation, UIKit
Authors

A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)

Installation

CocoaPods

DLPageMenu is available through CocoaPods. !! Swift only !!

To install add the following line to your Podfile:

pod 'DLPageMenu'

How to use DLPageMenu

Option property.

Property Type Definition
frame CGRect Size and position of the page menu
menuItemHeight CGFloat Height of the menu
menuItemWidth CGFloat Width of the menu
menuItemBackgroundColorNormal UIColor Background color of the menu (Unselected)
menuItemBackgroundColorSelected UIColor Background color of the menu (Selected)
menuTitleMargin CGFloat Margin between menu items
menuTitleFont UIFont Menu Title font
menuTitleColorNormal UIColor Menu Title color (Unselected)
menuTitleColorSelected UIColor Menu Title color (Selected)
menuIndicatorHeight CGFloat Height of the menu indicator
menuIndicatorColor UIColor Color of the menu indicator

Latest podspec

{
    "name": "DLPageMenu",
    "version": "1.2.0",
    "summary": "Paging through view controllers made easy",
    "description": "A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram)",
    "homepage": "https://github.com/duylinh158/DLPageMenu",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "duylinh158": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/duylinh158/DLPageMenu.git",
        "tag": "1.2.0"
    },
    "source_files": "DLPageMenu/*.{h,m,swift}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This