{"id":19773934,"url":"https://github.com/badoo/bmaspinninglabel","last_synced_at":"2025-04-30T18:32:32.104Z","repository":{"id":56903034,"uuid":"84969265","full_name":"badoo/BMASpinningLabel","owner":"badoo","description":"BMASpinningLabel is an UI component which provides easy way for displaying and animating text inside it","archived":false,"fork":false,"pushed_at":"2017-03-15T10:26:29.000Z","size":1661,"stargazers_count":151,"open_issues_count":0,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-14T00:05:23.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/badoo.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":"2017-03-14T16:03:08.000Z","updated_at":"2023-06-07T13:10:36.000Z","dependencies_parsed_at":"2022-08-20T18:50:53.959Z","dependency_job_id":null,"html_url":"https://github.com/badoo/BMASpinningLabel","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2FBMASpinningLabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2FBMASpinningLabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2FBMASpinningLabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badoo%2FBMASpinningLabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badoo","download_url":"https://codeload.github.com/badoo/BMASpinningLabel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224219555,"owners_count":17275477,"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":[],"created_at":"2024-11-12T05:11:33.264Z","updated_at":"2024-11-12T05:11:33.815Z","avatar_url":"https://github.com/badoo.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMASpinningLabel [![Build Status](https://api.travis-ci.org/badoo/BMASpinningLabel.svg)](https://travis-ci.org/badoo/BMASpinningLabel) [![codecov.io](https://codecov.io/github/badoo/BMASpinningLabel/coverage.svg?branch=master)](https://codecov.io/github/badoo/BMASpinningLabel?branch=master) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/BMASpinningLabel.svg)](https://img.shields.io/cocoapods/v/BMASpinningLabel.svg)\n`BMASpinningLabel` is an UI component which provides easy way for displaying and animating text inside it.\nText changes animated as 'spins' either downwards or upwards.\nBelow you can see example how it works.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./demoimages/demo.gif\" /\u003e\n\u003c/div\u003e\n\n## How to use\n\n```objectivec\n// Creation\nBMASpinningLabel *label = [[BMASpinningLabel alloc] initWithFrame:CGRectMake(0, 0, 100, 40)];\nself.navigationItem.titleView = label;\n\n// Set initial value\nNSAttributedString *initialTitle = [[NSAttributedString alloc] initWithString:@\"Initial Title\"];\nself.label.attributedTitle = initialTitle;\n\n// Update with animation\nNSAttributedString *newTitle = [[NSAttributedString alloc] initWithString:@\"New Title\"];\n[self.label setAttributedTitle:newTitle spinDirection:BMASpinDirectionUpward spinSettings:BMASpinSettingsAnimated];\n```\n\n## How to install\n\n### Using CocoaPods\n\n\n1. Include the following line in your `Podfile`:\n\n    ```\n    pod 'BMASpinningLabel', '~\u003e 1.0'\n    ```\n\n2. Run `pod install`\n\n### Manually\n\n1. Clone, add as a submodule or [download.](https://github.com/badoo/BMASpinningLabel/archive/master.zip)\n2. Add the files under `BMASpinningLabel` to your project.\n3. Make sure your project is configured to use ARC.\n\n## License\n\nSource code is distributed under MIT license.\n\n## Blog\n\nRead more on our [tech blog](http://techblog.badoo.com/) or explore our other [open source projects](https://github.com/badoo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Fbmaspinninglabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadoo%2Fbmaspinninglabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadoo%2Fbmaspinninglabel/lists"}