Latest 2.0.0
Homepage https://github.com/wangzz/WZMarqueeView
License MIT
Platforms ios 4.3, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

WZMarqueeView is a marquee view used on iOS.It is a view expansion which contains a lable.We can custom the animation duration by setting the duration variable,The default duration value is 5.0f.

WZMarqueeView

Getting Started

Using CocoaPods

1.Add the pod WZMarqueeView to your Podfile.

pod 'WZMarqueeView', '~> 2.0.0'

2.Run pod install from Terminal, then open your app’s .xcworkspace file to launch Xcode.

3.#import WZMarqueeView.h wherever you want to use the API.

Manually from GitHub

1.Download the WZMarqueeView.h and WZMarqueeView.m files in th Source directory

2.Add both files to your Xcode project.

3.#import WZMarqueeView.h wherever you want to use the API.

Example Usage

Example location

Check out the example project included in the repository. It contains a few demos of the API in use for various scenarios.

Usage

The way to create a WZMarqueeView is:

WZMarqueeView *marqueeView = [[WZMarqueeView alloc] initWithFrame:CGRectMake(60, 100, 200, 40)];
marqueeView.lable.text = @"Good good study day day up.It is a WZMarqueeView demo";
marqueeView.duration = 7.0f;
marqueeView.backgroundColor = [UIColor whiteColor];
[marqueeView showInView:self.view];

License

MIT

Latest podspec

{
    "name": "WZMarqueeView",
    "version": "2.0.0",
    "summary": "A marquee view used on iOS.",
    "description": "It is a marquee view used on iOS, which implement by Objective-C.",
    "homepage": "https://github.com/wangzz/WZMarqueeView",
    "license": "MIT",
    "authors": {
        "u738bu4e2du5468": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wangzz/WZMarqueeView.git",
        "tag": "2.0.0"
    },
    "platforms": {
        "ios": "4.3"
    },
    "requires_arc": true,
    "source_files": "WZMarqueeView/*",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This