{"id":19856964,"url":"https://github.com/johnvuko/jtnumberscrollanimatedview","last_synced_at":"2025-05-02T02:30:27.874Z","repository":{"id":23339566,"uuid":"26700075","full_name":"johnvuko/JTNumberScrollAnimatedView","owner":"johnvuko","description":"A scroll animation for display number for iOS","archived":false,"fork":false,"pushed_at":"2021-02-23T08:53:54.000Z","size":57,"stargazers_count":209,"open_issues_count":3,"forks_count":37,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-06T21:01:36.454Z","etag":null,"topics":["animation","ios","numbers"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnvuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-16T01:31:36.000Z","updated_at":"2025-01-13T07:02:53.000Z","dependencies_parsed_at":"2022-08-21T16:00:14.635Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/JTNumberScrollAnimatedView","commit_stats":null,"previous_names":["johnvuko/jtnumberscrollanimatedview"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTNumberScrollAnimatedView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTNumberScrollAnimatedView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTNumberScrollAnimatedView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTNumberScrollAnimatedView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/JTNumberScrollAnimatedView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251972408,"owners_count":21673599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","ios","numbers"],"created_at":"2024-11-12T14:17:05.391Z","updated_at":"2025-05-02T02:30:27.604Z","avatar_url":"https://github.com/johnvuko.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JTNumberScrollAnimatedView\n\n[![CI Status](http://img.shields.io/travis/jonathantribouharet/JTNumberScrollAnimatedView.svg)](https://travis-ci.org/jonathantribouharet/JTNumberScrollAnimatedView)\n![Version](https://img.shields.io/cocoapods/v/JTNumberScrollAnimatedView.svg)\n![License](https://img.shields.io/cocoapods/l/JTNumberScrollAnimatedView.svg)\n![Platform](https://img.shields.io/cocoapods/p/JTNumberScrollAnimatedView.svg)\n\nUse JTNumberScrollAnimatedView for have a nice animation for display number.\nIt's easy to use, easy to customize.\n\n## Installation\n\nWith [CocoaPods](http://cocoapods.org/), add this line to your Podfile.\n\n\tpod 'JTNumberScrollAnimatedView', '~\u003e 1.0'\n\n## Screenshots\n\n![Example](./Screens/example.gif \"Example View\")\n\n## Usage\n\n### Basic usage\n\nYou can use `JTNumberScrollAnimatedView` like a normal view.\n\n```objective-c\n#import \u003cUIKit/UIKit.h\u003e\n\n#import \"JTNumberScrollAnimatedView.h\"\n\n@interface ViewController : UIViewController\n\n@property (weak, nonatomic) IBOutlet JTNumberScrollAnimatedView *animatedView;\n\n@end\n```\n\nYou just have to call `setValue` with a NSNumber and use `startAnimation` for launch the animation.\n\n```objective-c\n- (void)viewDidLoad\n{\n    [super viewDidLoad];\n        \n    [self.animatedView setValue:@249];\n}\n\n- (void)viewDidAppear:(BOOL)animated\n{\n    [super viewDidAppear:animated];\n    \n    [self.animatedView startAnimation];\n}\n```\n\n### WARNING\n\nFor now the `value` must be a positive integer.\n\n### Customization\n\nYou can easily change some properties of the animation.\nEach caracter have its own `column`.\n\n- `textColor`\n- `font`\n- `duration`, default to `1.5`\n- `durationOffset`, delay between the end of the animation of each column, default to `0.2`\n- `density`, number of characters added by column for the animation, default to `5`\n- `minLength`, you can force the minimum count of columns, default to `0`\n- `isAscending`, the direction of the scroll, default to `NO`\n\nIf you change one of this properties, you have to call `setValue` for update the view.\n\n## Requirements\n\n- iOS 7 or higher\n- Automatic Reference Counting (ARC)\n\n## Author\n\n- [Jonathan Tribouharet](https://github.com/jonathantribouharet) ([@johntribouharet](https://twitter.com/johntribouharet))\n\n## License\n\nJTNumberScrollAnimatedView is released under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjtnumberscrollanimatedview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fjtnumberscrollanimatedview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjtnumberscrollanimatedview/lists"}