Latest 1.0.2
Homepage https://github.com/DingdingKim/DDViewSwitcher
License MIT
Platforms ios 8.0
Authors

Introduction

Hello !! 😊
With DDViewSwitcher, you can simply implement the effect of scrolling the view with just two lines.
Like android’s TextSwitcher or realtime ranking UI(text scroll up animaiton repeatedly.)

Demo

Sample Main menu
DDTextSwitcher
DDImageSwitcher
DDTextSwitcher(Manually)
DDViewSwitcher

Installation

CocoaPods

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

pod "DDViewSwitcher"

Usage

Just three line!


//**************************************************
//  This code is simplest way to make DDTextSwitcher !
//  You want to change attributes and more detail, look other ViewController in this sample !
//**************************************************

let textSwitcher = DDTextSwitcher(frame: self.view.bounds, data: ["item 1", "item 2"], scrollDirection: .vertical)
self.view.addSubview(textSwitcher)
textSwitcher.start()

Author

Dingding Kim, [email protected]

License

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

Latest podspec

{
    "name": "DDViewSwitcher",
    "version": "1.0.2",
    "summary": "With DDViewSwitcher, you can simply implement the effect of scrolling the view left and right with just two lines. like android TextSwitcher",
    "homepage": "https://github.com/DingdingKim/DDViewSwitcher",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "Dingding Kim": "[email protected]"
    },
    "source": {
        "git": "https://github.com/DingdingKim/DDViewSwitcher.git",
        "tag": "1.0.2"
    },
    "source_files": [
        "DDViewSwitcher",
        "Classes/**/*.{swift}"
    ],
    "platforms": {
        "ios": "8.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This