{"id":13754703,"url":"https://github.com/LeoMobileDeveloper/LeoDanmakuKit","last_synced_at":"2025-05-10T00:31:07.214Z","repository":{"id":62446452,"uuid":"48466332","full_name":"LeoMobileDeveloper/LeoDanmakuKit","owner":"LeoMobileDeveloper","description":"An iOS Danmaku Kit (添加纯文字弹幕)","archived":false,"fork":false,"pushed_at":"2018-07-04T13:40:39.000Z","size":699,"stargazers_count":52,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-02T23:02:38.146Z","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/LeoMobileDeveloper.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":"2015-12-23T03:14:06.000Z","updated_at":"2023-08-26T13:48:19.000Z","dependencies_parsed_at":"2022-11-01T23:06:52.786Z","dependency_job_id":null,"html_url":"https://github.com/LeoMobileDeveloper/LeoDanmakuKit","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoMobileDeveloper%2FLeoDanmakuKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoMobileDeveloper%2FLeoDanmakuKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoMobileDeveloper%2FLeoDanmakuKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoMobileDeveloper%2FLeoDanmakuKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoMobileDeveloper","download_url":"https://codeload.github.com/LeoMobileDeveloper/LeoDanmakuKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253346371,"owners_count":21894263,"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-08-03T10:00:33.164Z","updated_at":"2025-05-10T00:31:06.788Z","avatar_url":"https://github.com/LeoMobileDeveloper.png","language":"Objective-C","funding_links":[],"categories":["Clients"],"sub_categories":["iOS"],"readme":"# LeoDanmakuKit\n\n[![Version](https://img.shields.io/cocoapods/v/LeoDanmakuKit.svg?style=flat)](http://cocoapods.org/pods/LeoDanmakuKit)\n[![License](https://img.shields.io/cocoapods/l/LeoDanmakuKit.svg?style=flat)](http://cocoapods.org/pods/LeoDanmakuKit)\n[![Platform](https://img.shields.io/cocoapods/p/LeoDanmakuKit.svg?style=flat)](http://cocoapods.org/pods/LeoDanmakuKit)\n\n## Screenshot\n\n \u003cimg src=\"https://raw.github.com/LeoMobileDeveloper/LeoDanmakuKit/master/Screenshots/s.png\" width=\"320\" /\u003e\n\n## Requirements\n\n- ARC\n- iOS 7 +\n\n\n## Support\n\n- Storyboard\n- Auto limit buffer size\n- Random color or channel\n- High performance\n\n## Installation\n\nLeoDanmakuKit is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n\n```ruby\npod \"LeoDanmakuKit\"\n```\n\n## Manual installation\n\nYou can also download the Example project and copy the Class floder into your project\n\n## Usage\n\n\n```\n#import \"LeoDanmaku.h\"\n```\n\n\nWhen you add a new danmaku,you first create a `LeoDanmakuModel`,for example,you may use the random factory method build in\n\n```\nNSArray * colors = @[[UIColor redColor],[UIColor blueColor],[UIColor greenColor],[UIColor whiteColor]];\nLeoDanmkuModel * danmaku = [LeoDanmkuModel randomDanmkuWithColors:colors MaxFontSize:18 MinFontSize:15];\ndanmaku.text = self.textfiled.text;\n```\n\nThen\n\n```\n[self.danmakuView addDanmaku:danmaku];\n\n```\n\n## About remove \n\nWhen you want the view remove from superview and get dealloced,do not forget to call\n\n```\n[self.danmakuView stop]\n```\n\n## Propertys\n\nYou can set the speed and other related property of LeoDanmakuChannelManager\n\n```\n@property (assign,nonatomic)CGFloat maxSpeed;//Default 100 points/s\n\n@property (assign,nonatomic)CGFloat minSpeed;//Default 50 points/s\n\n@property (assign,nonatomic)CGFloat minSpace;//Default 20\n\n@property (assign,nonatomic)CGFloat inverval;//Default 0.25\n\n@property (assign,nonatomic)NSInteger channelsCount;//Number of channels\n```\n\n## Author\n\nLeoMobileDeveloper, leomobiledeveloper@gmail.com\n\n## License\n\nLeoDanmakuKit is available under the MIT license. See the LICENSE file for more info.\n\n------\n## 中文文档请见我的[博客](http://blog.csdn.net/hello_hwc/article/details/50382078)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoMobileDeveloper%2FLeoDanmakuKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeoMobileDeveloper%2FLeoDanmakuKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeoMobileDeveloper%2FLeoDanmakuKit/lists"}