Latest 0.1.7
Homepage https://github.com/publickanai/PLMScrollMenu
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/tatsuhiro kanai/PLMScrollMenu.svg?style=flat)](https://travis-ci.org/tatsuhiro kanai/PLMScrollMenu)
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Import PLMScrollMenu module.

import PLMScrollMenu

Define your view controller class with PLMScrollMenuViewController.

class YourViewController: PLMScrollMenuViewController {

Set ViewControllers.

override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view, typically from a nib.

    // setup

    let vc1 = UIViewController()
    vc1.view.backgroundColor = UIColor(red: 0.4, green: 0.8, blue: 1, alpha: 1)
    vc1.title = "First"

    let vc2 = UIViewController()
    vc2.view.backgroundColor = UIColor(red: 1, green: 0.4, blue: 0.8, alpha: 1)
    vc2.title = "Second"

    let vc3 = UIViewController()
    vc3.view.backgroundColor = UIColor(red: 1, green: 0.8, blue: 0.4, alpha: 1)
    vc3.title = "Third"

    // set ViewControllers
    self.setViewControllers([vc1, vc2 , vc3], animated: false)
}

Requirements

Installation

PLMScrollMenu is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "PLMScrollMenu"

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod "PLMScrollMenu"

Then, run the following command:

$ pod install

Author

tatsuhiro kanai, [email protected]

License

PLMScrollMenu is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "PLMScrollMenu",
    "version": "0.1.7",
    "summary": "Scrolling Menu",
    "description": "Simple Scrolling Menu.",
    "homepage": "https://github.com/publickanai/PLMScrollMenu",
    "license": "MIT",
    "authors": {
        "tatsuhiro kanai": "[email protected]"
    },
    "source": {
        "git": "https://github.com/publickanai/PLMScrollMenu.git",
        "tag": "0.1.7"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PLMScrollMenu": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This