• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An objective-c UIView which provide a mechanism to show numbers with rolling effect, like in counter

ADTickerLabel


An objective-c UIView which provide a mechanism to show numbers with rolling effect, like in counter. Click to see video


Requirements

ADTickerLabel works on any iOS version only greater or equal than 7.0 and is compatible with only ARC projects. It depends on the following Apple frameworks:

  • Foundation.framework
  • UIKit.framework
  • CoreGraphics.framework
  • QuartzCore.framework

You will need LLVM 3.0 or later in order to build ADTickerLabel.


Adding ADGraphView to your project

From CocoaPods

Add pod 'ADTickerLabel' to your Podfile or pod 'ADTickerLabel', :head if you're feeling adventurous.

Source files

Another way to add the ADTickerLabel to your project is to directly add the source files and resources to your project.

  1. Download the latest code version or add the repository as a git submodule to your git-tracked project.
  2. Open your project in Xcode, than drag and drop ADTickerLabel.h and ADTickerLabel.m files onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
  3. Include ADTickerLabel wherever you need it with #import "ADTickerLabel.h".

Usage

/*
 Width and height calculates automatically after you have set the font and characterWidth or if you want you can use default values
*/
ADTickerLabel *tickerLabel = [[ADTickerLabel alloc] initWithFrame: CGRectMake(100, 50, 0, 15)];
tickerLabel.font = [UIFont boldSystemFontOfSize: 12];
tickerLabel.textColor = [UIColor whiteColor];
[self addSubview: tickerLabel];

tickerLabel.text = @"1908";

Also you can see the example of usage in ViewController.m in demo project.


License

This code is distributed under the terms and conditions of the MIT license.


Change-log

**Version 0.67 @ 21.1.15

  • Update to iOS 7 (min) and 64bits architecture.

**Version 0.59 @ 22.6.13

  • Add support text changing animation speed.

Version 0.5 @ 10.6.13

  • Initial release.

More Repositories

1

ADChromePullToRefresh

ADChromePullToRefresh
Swift
266
star
2

ADMozaicCollectionViewLayout

ADMozaicCollectionViewLayout is yet another UICollectionViewLayout subclass that implements "brick", "mozaic" or Pinterest style layout.
Swift
224
star
3

FBSnapshotsViewer

A mac os application that shows the failing snapshot tests from FBSnapshotTestCase
Swift
223
star
4

ADGraphView

Objective-C
209
star
5

ADPuzzleAnimation

Inspired by Fabric - Answers animation. Allows to "build" given view with pieces. Allows to "destroy" given view into pieces
Swift
124
star
6

UIViewController-ScrollingStatusBar

Category for UIViewController with UIScrollView to scroll statusBar along scrollView
Objective-C
94
star
7

ADDropDownMenuView

ADDropDownMenuView is an iOS navigation drop down style view
Objective-C
80
star
8

ADPopupView

ADPopupView
Objective-C
66
star
9

ADFBRequestDialogViewController

UIViewController with FBDialog to send Facebook app request inside
Objective-C
41
star
10

ADArrowButton

Flat arrow button.
Swift
22
star
11

UIScrollViewContentAccessors

Category for UIScrollView which make easier to access UIScrollView's content properties in iOS.
Objective-C
20
star
12

ADCustomTableView

Objective-C
17
star
13

danger-missed_localizable_strings

Don't let developers to forget about the app localization
Ruby
13
star
14

socket.IO-Blocks

Category on SocketIO to use block callbacks instead of delegate callbacks.
Objective-C
11
star
15

fastlane-plugin-remove-provisioning-profile

Remove provisioning profile from your local machine
Ruby
9
star
16

fastlane-plugin-download_github_release_asset

Fastlane plugin that downloads a GitHub release's asset
Ruby
2
star
17

nabokov

Move mobile localization boringness away from you 🏃
Ruby
2
star
18

iOS-Hackathon-Starter-Template

A boilerplate for objective-c iOS applications
Objective-C
2
star
19

ADContactsManager

Easy-to-use wrapper for both Contacts and AddressBook frameworks
Objective-C
2
star
20

jigit

Keep you JIRA issue statuses in sync with what you're doing actually
Ruby
1
star
21

CCPolygonNode

CCNode subclass to draw polygon with texture (adopt PRKit to cocos2d v3)
C++
1
star