{"id":18693846,"url":"https://github.com/mengxianliang/xldotloading","last_synced_at":"2025-08-25T17:04:21.522Z","repository":{"id":113372289,"uuid":"80283065","full_name":"mengxianliang/XLDotLoading","owner":"mengxianliang","description":"iOS 新浪微博红包加载动画","archived":false,"fork":false,"pushed_at":"2019-05-30T01:57:08.000Z","size":140,"stargazers_count":32,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T06:54:02.389Z","etag":null,"topics":["dot","loading","weibo"],"latest_commit_sha":null,"homepage":"","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/mengxianliang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-28T12:25:22.000Z","updated_at":"2025-03-13T13:20:19.000Z","dependencies_parsed_at":"2023-06-15T11:30:14.157Z","dependency_job_id":null,"html_url":"https://github.com/mengxianliang/XLDotLoading","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mengxianliang/XLDotLoading","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLDotLoading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLDotLoading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLDotLoading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLDotLoading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mengxianliang","download_url":"https://codeload.github.com/mengxianliang/XLDotLoading/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mengxianliang%2FXLDotLoading/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272100683,"owners_count":24873442,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dot","loading","weibo"],"created_at":"2024-11-07T11:07:19.800Z","updated_at":"2025-08-25T17:04:21.503Z","avatar_url":"https://github.com/mengxianliang.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XLDotLoading\n仿新浪微博的红包加载动画，过年在家里抢红包看到这个效果，就顺手仿照着写了一下。主要还是利用余弦函数曲线的特性实现的。具体原理是圆球在从左向右移动时时先缩小再放大，圆球从右向左移动时先放大在缩小；然后再加上另一个圆球就实现了这样远近交换的效果。\n\n### 显示效果如下\n\n\u003cimg src=\"https://github.com/mengxianliang/XLDotLoading/blob/master/1.gif\" width=300 height=534 /\u003e\n\n### 使用方法\n\n**显示：**\n\n```objc\n[XLDotLoading showInView:self.view];\n```\n**隐藏：**\n```objc\n[XLDotLoading hideInView:self.view];\n```\n\n### 实现原理请参考[我的博文](http://blog.csdn.net/u013282507/article/details/54907724)\n\n### 个人开发过的UI工具集合 [XLUIKit](https://github.com/mengxianliang/XLUIKit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengxianliang%2Fxldotloading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmengxianliang%2Fxldotloading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmengxianliang%2Fxldotloading/lists"}