{"id":16683826,"url":"https://github.com/freesuraj/textscroller","last_synced_at":"2025-06-29T21:02:44.263Z","repository":{"id":146931275,"uuid":"4615508","full_name":"freesuraj/TextScroller","owner":"freesuraj","description":"A text scroller View (scrolls left or right horizontally)","archived":false,"fork":false,"pushed_at":"2012-12-19T04:20:31.000Z","size":280,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T21:02:00.035Z","etag":null,"topics":[],"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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freesuraj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-10T14:07:31.000Z","updated_at":"2014-09-15T07:02:54.000Z","dependencies_parsed_at":"2023-03-24T12:15:20.370Z","dependency_job_id":null,"html_url":"https://github.com/freesuraj/TextScroller","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freesuraj/TextScroller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FTextScroller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FTextScroller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FTextScroller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FTextScroller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freesuraj","download_url":"https://codeload.github.com/freesuraj/TextScroller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freesuraj%2FTextScroller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262667246,"owners_count":23345524,"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-10-12T14:26:26.229Z","updated_at":"2025-06-29T21:02:44.138Z","avatar_url":"https://github.com/freesuraj.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"##TextScroller\n\n### Description\n\n\u003ci\u003e A text scroller View (scrolls left or right horizontally) \u003c/i\u003e.\n This is a `UIView` that holds a `UILabel` in it. The text of the `UILabel` is scrolled. Three types of scrolling types are available at the moment.\n\n1. Right to Left\n2. Left to Right\n3. Floating\n\n### ScreenShot\n\nThis git package contains an example Xcode project. Executing which you would get a screen shot like below.\n\n![ScreenShot](http://www.pictureshoster.com/files/d72ubnfqxky310441px.png)\n\n###Usage\n\n#### Files\nJust copy the following files and put them inside your project. \n\n1. \t`SPTextScrollerView.h` \t \n2. `SPTextScrollerView.m` \n \n\n#### Frameworks\nAdd `QuartzCore.Framework` into your project\n\n#### Start\n\n1. **Initiate**\n\n  \u003ci\u003eInit with `UILabel` \u003c/i\u003e\n \n\t\t\t\t- (id)initWithUILabel:(UILabel *)label;\n\t\t\n  \u003ci\u003eInit With your `frame` and `text` \u003c/i\u003e\n \n\t\t- (id)initWithFrame:(CGRect)frame Text:(NSString*)text Font:(UIFont*)font ScrollType:(ScrollerType)scrollType;\n\n\t\t\t\n2. Configurable Parameters\n\n\t\tCGFloat speed;\t\t\t\t\t\t// Scrolls pixels per unit time, 5.0 by default\n\t\tUIColor *textColor;\t\t\t\t\t// gray by default\n\t\tUIFont  *textFont;\n\t\tNSString *text;\n\t\tScrollerType textScrollerType;\t\t\t\n\n\n3. Helper Methods\n\n\t\t\t- (void) startScrolling;\t\t// Start Scrolling\n\t\t\t- (void) stopScrolling;\t\t\t// Pause Scrolling\n\t\t\t\n4. Scroller types\n\t\n\t\t\ttypedef enum \n\t\t\t{\n\t\t\tScrollerTypeRightToLeft\t\t= 0,\n\t\t\tScrollerTypeLeftToRight\t\t= 1,\n\t\t\tScrollerTypeFloating\t\t= 2,\n\t\t\tScrollerTypeUnknown\t\t\t= -1\n\t\t\t}ScrollerType;\n\t\t\t\n### More\nFollow me [@freesuraj](http://twitter.com/freesuraj) on Twitter for the latest news.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreesuraj%2Ftextscroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreesuraj%2Ftextscroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreesuraj%2Ftextscroller/lists"}