{"id":24298423,"url":"https://github.com/linhay/emptypage","last_synced_at":"2025-04-05T22:07:53.807Z","repository":{"id":28272667,"uuid":"116802320","full_name":"linhay/EmptyPage","owner":"linhay","description":"An empty state control to give visually appealing context when building iOS applications.","archived":false,"fork":false,"pushed_at":"2024-10-28T18:44:32.000Z","size":24554,"stargazers_count":89,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T21:06:39.265Z","etag":null,"topics":["cocoapods","emptypage","emptyview","ios","swift","uicollectionview","uitableview"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linhay.png","metadata":{"files":{"readme":"README-EN.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-09T10:36:24.000Z","updated_at":"2024-08-23T10:40:04.000Z","dependencies_parsed_at":"2024-05-29T12:25:00.227Z","dependency_job_id":"db4e33f5-c328-4b6a-89a3-3c886727adac","html_url":"https://github.com/linhay/EmptyPage","commit_stats":{"total_commits":267,"total_committers":7,"mean_commits":"38.142857142857146","dds":"0.12734082397003743","last_synced_commit":"6ac4908aac7ce5f26526b121c8c5999b4b0b304b"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhay%2FEmptyPage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhay%2FEmptyPage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhay%2FEmptyPage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linhay%2FEmptyPage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linhay","download_url":"https://codeload.github.com/linhay/EmptyPage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406090,"owners_count":20933803,"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":["cocoapods","emptypage","emptyview","ios","swift","uicollectionview","uitableview"],"created_at":"2025-01-16T20:59:23.803Z","updated_at":"2025-04-05T22:07:53.786Z","avatar_url":"https://github.com/linhay.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![title](https://s.linhey.com/emptypage-17.png)\n\n![](https://img.shields.io/github/workflow/status/linhay/EmptyPage/build/master)\n![](https://img.shields.io/cocoapods/v/EmptyPage.svg)\n![](https://img.shields.io/cocoapods/l/EmptyPage.svg)\n![](https://img.shields.io/cocoapods/p/EmptyPage.svg)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Flinhay%2FEmptyPage%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/linhay/EmptyPage)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Flinhay%2FEmptyPage%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/linhay/EmptyPage)\n\n\n## Feature\n\n- [x] Provides a default manager to support UICollectionView \u0026 UITableView.\n- [x] You can customize the manager to support any view.\n- [x] Empty page can be any kind of view.\n- [x] You can set a custom manager to replace the default manager.\n- [x] A custom manager can be set to globally replace the default manager.\n- [x] We preloaded several sets of templates to make it easy to build empty pages.\n- [x] We have a pre-configured set of state managers for non-networking or more.\n\n\n\n## Usage\n\nHere is a simple example of binding a custom view to a UICollectionview:\n\n````swift\nlet customEmptyView = CustomEmptyView()\ncollectionView.ep.set(emptyView: customEmptyView)\n````\n\nAfter the `UICollectionview` executes `reloadData()` , EmptyPage determines whether the data in the Datasource is empty, and then decides whether to display the empty view.\n\n\n\n## Installation\n\n### CocoaPods\n\nIf you use CocoaPods to manage your dependencies, simply add\nUIFontComplete to your `Podfile`:\n\n```ruby\npod 'EmptyPage'\n```\n\n\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.\n\nUsing Xcode 11.0+ go to your project file and enter the project URL of this repository:\n\n```swift\nhttps://github.com/linhay/EmptyPage\n```\n\n\n\n## Requirements\n\n- iOS 9.0+\n- Swift 4.0+\n\n\n\n## Next Steps\n\nWe prepared a [wiki page](https://github.com/linhay/EmptyPage/wiki). You can find tons of useful things there.\n\n* [Installation Guide](https://github.com/linhay/EmptyPage/wiki/Installation-Guide) - Follow it to integrate EmptyPage into your project.\n* [Cheat Sheet](https://github.com/linhay/EmptyPage/wiki/Cheat-Sheet)- Curious about what EmptyPage could do and how would it look like when used in your project? See this page for useful code snippets. If you are already familiar with EmptyPage, you could also learn new tricks to improve the way you use EmptyPage!\n* [API Reference](https://linhay.github.io/EmptyPage/) - Lastly, please remember to read the full whenever you may need a more detailed reference.\n\n\n\n## Contact\n\nFollow and contact me on [Twitter](https://twitter.com/islinhey) or [Sina Weibo](https://weibo.com/islinhey). If you find an issue, just [open a ticket](https://github.com/linhay/EmptyPage/issues/new). Pull requests are warmly welcome as well.\n\n\n\n## License\n\nEmptyPage is released under the Apache License 2.0 license. See [LICENSE](https://github.com/linhay/EmptyPage/blob/master/LICENSE) for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhay%2Femptypage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinhay%2Femptypage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinhay%2Femptypage/lists"}