Latest0.1.3
Homepagehttps://github.com/zipme/RQShineLabel
LicenseMIT
Platformsios 6.0, requires ARC
Authors

A UILabel subclass that lets you animate text similar to Secret app.

image

Installation

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

pod "RQShineLabel"

Usage

- (void)viewDidLoad
{
  self.shineLabel = [[RQShineLabel alloc] initWithFrame:CGRectMake(16, 16, 298, 300)];
  self.shineLabel.numberOfLines = 0;
  self.shineLabel.text = @"some text";
  self.shineLabel.backgroundColor = [UIColor clearColor];
  [self.shineLabel sizeToFit];
  self.shineLabel.center = self.view.center;
  [self.view addSubview:self.shineLabel];
}

- (void)viewDidAppear:(BOOL)animated
{
  [super viewDidAppear:animated];
  [self.shineLabel shine];
}

Other methods

fade in with completion block

- (void)shineWithCompletion:(void (^)())completion;

fade out

- (void)fadeOut

fade out with completion block

- (void)fadeOutWithCompletion:(void (^)())completion;

Requirements

iOS >= 6.0

Author

gk

License

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

Latest podspec

{
    "name": "RQShineLabel",
    "version": "0.1.3",
    "summary": "A UILabel subclass that lets you animate text similar to Secret app.",
    "homepage": "https://github.com/zipme/RQShineLabel",
    "screenshots": [
        "https://raw.githubusercontent.com/zipme/RQShineLabel/master/Screenshots/rqshinelabel.gif",
        "https://raw.githubusercontent.com/zipme/RQShineLabel/master/Screenshots/1.png"
    ],
    "license": "MIT",
    "authors": {
        "gk": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zipme/RQShineLabel.git",
        "tag": "0.1.3"
    },
    "social_media_url": "https://twitter.com/zipme",
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Classes",
    "ios": {
        "exclude_files": "Example"
    }
}

Pin It on Pinterest

Share This