{"id":2906,"url":"https://github.com/malkouz/ListPlaceholder","last_synced_at":"2025-08-03T12:31:33.790Z","repository":{"id":25454788,"uuid":"103937018","full_name":"malkouz/ListPlaceholder","owner":"malkouz","description":"ListPlaceholder is a swift library allows you to easily add facebook style animated loading placeholder to your tableviews or collection views.","archived":false,"fork":false,"pushed_at":"2022-03-24T03:56:36.000Z","size":986,"stargazers_count":639,"open_issues_count":11,"forks_count":71,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-04-24T18:58:09.752Z","etag":null,"topics":["animation","cocoapods","custom","customizable","facebook","objective-c","placeholder","swift","swift-library","tableview"],"latest_commit_sha":null,"homepage":null,"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/malkouz.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-18T12:36:46.000Z","updated_at":"2024-04-23T02:09:08.000Z","dependencies_parsed_at":"2022-08-07T11:15:43.694Z","dependency_job_id":null,"html_url":"https://github.com/malkouz/ListPlaceholder","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/malkouz%2FListPlaceholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malkouz%2FListPlaceholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malkouz%2FListPlaceholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malkouz%2FListPlaceholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malkouz","download_url":"https://codeload.github.com/malkouz/ListPlaceholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228543183,"owners_count":17934440,"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","cocoapods","custom","customizable","facebook","objective-c","placeholder","swift","swift-library","tableview"],"created_at":"2024-01-05T20:16:25.974Z","updated_at":"2024-12-07T00:31:04.806Z","avatar_url":"https://github.com/malkouz.png","language":"Swift","funding_links":[],"categories":["UI","Swift"],"sub_categories":["Table View / Collection View","Other free courses"],"readme":"# ListPlaceholder\n\n[![Version](https://img.shields.io/cocoapods/v/ListPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ListPlaceholder)\n[![License](https://img.shields.io/cocoapods/l/ListPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ListPlaceholder)\n[![Platform](https://img.shields.io/cocoapods/p/ListPlaceholder.svg?style=flat)](http://cocoapods.org/pods/ListPlaceholder)\n\n\u003ch1 align=\"center\"\u003eListPlaceholder\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eFacebook news feed style animation\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/malkouz/ListPlaceholder/raw/master/demo.gif\"/\u003e\n\u003c/p\u003e\n\n\n## Features\nListPlaceholder is a swift library allows you to easily add facebook style animated loading placeholder to your tableviews, collection views or custom views.\n\n## Installation\n\n### CocoaPods (Recommended)\n\n1. Install [CocoaPods](https://cocoapods.org)\n2. Add this repo to your `Podfile`\n\n```ruby\ntarget 'Example' do\n# IMPORTANT: Make sure use_frameworks! is included at the top of the file\nuse_frameworks!\nplatform :ios, '8.0'\npod 'ListPlaceholder'\nend\n```\n3. Run `pod install`\n4. Open up the `.xcworkspace` that CocoaPods created\n5. Done!\n\n### Manually\n\nSimply download the `ListLoader.swift` file from [here](https://github.com/malkouz/ListPlaceholder/blob/master/ListPlaceholder/Classes/ListLoader.swift) into your project, make sure you point to your projects target\n\n### Usage\n\n```swift\nimport ListPlaceholder\n```\nUITableView usage\n```swift\n//to show the loader\ntableView.reloadData()\ntableView.showLoader()\n\n//to hide the loader\ntableView.hideLoader()\n```\n\nUICollectionView usage\n```swift\n//to show the loader\ncollectionView.reloadData()\ncollectionView.layoutIfNeeded()\ncollectionView.showLoader()\n\n//to hide the loader\ncollectionView.hideLoader()\n```\n\nUIView usage\n```swift\n//to show the loader\n\ncustomView.showLoader()\n\n//to hide the loader\ncustomView.hideLoader()\n```\n\nAlso the placeholder is now supporting in Objective-C language\n```Objective-C\n\n@import ListPlaceholder;\n\n//to show the loader\n[_customView showLoader];\n//to hide the loader\n[_customView hideLoader];\n```\n\n\n## Example project\n\nTake a look at the example project over here\n\n1. Download it\n2. Open the `Example.xcworkspace` in Xcode\n3. Enjoy!\n\n## Author\n\nMoayad Al kouz, moayad_kouz9@hotmail.com\n\n## License\n\nListPlaceholder 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%2Fmalkouz%2FListPlaceholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalkouz%2FListPlaceholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalkouz%2FListPlaceholder/lists"}