{"id":2286,"url":"https://github.com/gonzalonunez/Skeleton","last_synced_at":"2025-08-02T23:32:56.415Z","repository":{"id":41420198,"uuid":"82122435","full_name":"gonzalonunez/Skeleton","owner":"gonzalonunez","description":"✨ An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.","archived":false,"fork":false,"pushed_at":"2021-09-20T19:03:47.000Z","size":403,"stargazers_count":678,"open_issues_count":0,"forks_count":77,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-24T14:46:44.475Z","etag":null,"topics":["gradients","ios","loader","loading-animations","skeleton","skeleton-screen","slide-animation","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/gonzalonunez.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-02-16T00:49:36.000Z","updated_at":"2024-04-20T01:39:06.000Z","dependencies_parsed_at":"2022-08-27T20:08:09.552Z","dependency_job_id":null,"html_url":"https://github.com/gonzalonunez/Skeleton","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzalonunez%2FSkeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzalonunez%2FSkeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzalonunez%2FSkeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonzalonunez%2FSkeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gonzalonunez","download_url":"https://codeload.github.com/gonzalonunez/Skeleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503175,"owners_count":17930527,"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":["gradients","ios","loader","loading-animations","skeleton","skeleton-screen","slide-animation","swift"],"created_at":"2024-01-05T20:16:09.857Z","updated_at":"2024-12-06T17:30:59.021Z","avatar_url":"https://github.com/gonzalonunez.png","language":"Swift","funding_links":[],"categories":["UI","Swift","UI Component"],"sub_categories":["Activity Indicator","Other free courses"],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"logo.png\" width=\"300\" max-width=\"50%\" alt=\"Skeleton\" /\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://developer.apple.com/swift\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/swift-5.0-red.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/Skeleton\"\u003e\n        \u003cimg src=\"https://img.shields.io/cocoapods/v/Skeleton.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/Carthage/Carthage\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://www.gonzalonunez.me/Skeleton/\"\u003e\n        \u003cimg src=\"https://img.shields.io/cocoapods/p/Skeleton.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nSkeleton is an easy way to create sliding `CAGradientLayer` animations! It works great for creating skeleton screens:\n\n\u003cimg src=\"https://github.com/gonzalonunez/Skeleton/blob/master/Resources/skeleton-logo-animation.gif\" width=261/\u003e\n\n## 👩‍💻 Usage\n\nThe entire library comes down to just one public-facing extension:\n\n```swift\npublic extension CAGradientLayer {\n  public func slide(to dir: Direction, group: ((CAAnimationGroup) -\u003e Void) = { _ in })\n  public func stopSliding()\n}\n```\n\nYou can check out the example and the [documentation](http://www.gonzalonunez.me/Skeleton/) for more.\n\n## 📚 Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## 🛠 Installation\n\nSkeleton is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:\n\n```ruby\npod \"Skeleton\"\n```\n\nSkeleton is also available through [Carthage](https://github.com/Carthage/Carthage). Add this to your Cartfile:\n\n```\ngithub \"gonzalonunez/Skeleton\" ~\u003e 0.4.0\n```\n\n## 📄 License\n\nSkeleton is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonzalonunez%2FSkeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgonzalonunez%2FSkeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonzalonunez%2FSkeleton/lists"}