Latest 1.0.2
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit

LSGMarqueeView 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.


Getting Started

Using CocoaPods

1.Add the pod LSGMarqueeView to your Podfile.

pod 'LSGMarqueeView', '~> 2.0.0'

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

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

Manually from GitHub

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

2.Add both files to your Xcode project.

3.#import LSGMarqueeView.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.


The way to create a LSGMarqueeView is:

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



Latest podspec

    "name": "LSGMarqueeView",
    "version": "1.0.2",
    "summary": "A marquee view used on iOS.",
    "description": "It is a marquee view used on iOS, which implement by Objective-C.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "u6797u4e16u51a0": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.2"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "LSGMarqueeView/*",
    "frameworks": [

Pin It on Pinterest

Share This