{"id":13466352,"url":"https://github.com/Kirillzzy/KALoader","last_synced_at":"2025-03-25T21:32:06.110Z","repository":{"id":56917051,"uuid":"102890234","full_name":"Kirillzzy/KALoader","owner":"Kirillzzy","description":"Beautiful animated placeholders for showing loading of data","archived":false,"fork":false,"pushed_at":"2018-05-05T16:31:05.000Z","size":4688,"stargazers_count":107,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-07T23:48:40.624Z","etag":null,"topics":["animation","color","gradient","placeholder","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/Kirillzzy.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-09-08T18:03:07.000Z","updated_at":"2023-09-21T07:01:52.000Z","dependencies_parsed_at":"2022-08-21T03:50:48.976Z","dependency_job_id":null,"html_url":"https://github.com/Kirillzzy/KALoader","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirillzzy%2FKALoader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirillzzy%2FKALoader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirillzzy%2FKALoader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirillzzy%2FKALoader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kirillzzy","download_url":"https://codeload.github.com/Kirillzzy/KALoader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245548158,"owners_count":20633526,"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":["animation","color","gradient","placeholder","swift"],"created_at":"2024-07-31T15:00:42.803Z","updated_at":"2025-03-25T21:32:05.397Z","avatar_url":"https://github.com/Kirillzzy.png","language":"Swift","readme":"# KALoader\n[![CocoaPods](https://img.shields.io/badge/pod-v0.4-orange.svg)](https://img.shields.io/badge/pod-v0.4-orange.svg)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Twitter](https://img.shields.io/badge/twitter-%40kirillzzy-blue.svg?style=flat)](https://twitter.com/kirillzzy)\n![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)\n\nCreate breautiful animated placeholders for showing loading of data. You can change colors like you want. Swift 4 compatible.\n\n![alt tag](https://github.com/Kirillzzy/KALoader/blob/master/imgs/grayLoader.gif)\n![alt tag](https://github.com/Kirillzzy/KALoader/blob/master/imgs/purpleLoader.gif)\n![alt tag](https://github.com/Kirillzzy/KALoader/blob/master/imgs/redLoader.gif)\n\n\n# Usage\nTo add animated gray loader on any view:\n```\nview.showLoader()\n```\n\nTo hide animated loader:\n```\nview.hideLoader()\n```\n\nYou can ask is loader showing:\n```\nif view.isLoaderShowing() {\n  view.hideLoader()\n}\n```\n\nYou can show loader with own custom colors and animation duration:\n```\n let backColorRed = UIColor(red: 255.0 / 255, green: 75.0 / 255, blue: 97.0 / 255, alpha: 1.0)\n let firstLoadColorRed = UIColor(red: 239.0 / 255, green: 64.0 / 255, blue: 85.0 / 255, alpha: 1.0)\n let secondLoadColorRed = UIColor(red: 225.0 / 255, green: 54.0 / 255, blue: 75.0 / 255, alpha: 1.0)\n let colorsRed = [backColorRed, firstLoadColorRed, secondLoadColorRed, firstLoadColorRed, backColorRed]\n view.showLoader(colors: colorsRed, animationDuration: 1.5)\n```\n‼️ 'colors' array should get only 5 different colors\n\n**For more usage see 'Examples'**\n\n\n# Installation\nTo integrate in your project:\n- Add the following to your [`Podfile`](http://cocoapods.org/) and run `pod install`\n```\npod 'KALoader'\n```\n- Or add the following to your [`Cartfile`](https://github.com/Carthage/Carthage) and run `carthage update`\n```\ngithub \"kirillzzy/KALoader\"\n```\n- Or clone as a git submodule\n\n\n# Author\n**Kirill Averyanov**\n\n- [Twitter](https://twitter.com/kirillzzy) (@kirillzzy)\n\n- [Website](http://kirillaveryanov.me)\n\n\n# License\n```\nMIT License\n\nCopyright (c) 2017 Kirill Averyanov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","funding_links":[],"categories":["Libs","Loading","UI [🔝](#readme)"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKirillzzy%2FKALoader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKirillzzy%2FKALoader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKirillzzy%2FKALoader/lists"}