{"id":26474979,"url":"https://github.com/bxyfighting/bxystatefulviewcontroller","last_synced_at":"2025-03-19T23:10:01.635Z","repository":{"id":56903389,"uuid":"104364365","full_name":"bxyfighting/BXYStatefulViewController","owner":"bxyfighting","description":"A view controller category that presents placeholder views based on content, loading, error or empty states.","archived":false,"fork":false,"pushed_at":"2017-12-15T06:58:26.000Z","size":82,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T17:03:04.873Z","etag":null,"topics":["empty","error","loading","objective-c","placeholder","state","state-management","uiviewcontroller"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/bxyfighting.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-21T15:16:04.000Z","updated_at":"2019-09-08T08:16:28.000Z","dependencies_parsed_at":"2022-08-20T18:50:56.787Z","dependency_job_id":null,"html_url":"https://github.com/bxyfighting/BXYStatefulViewController","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxyfighting%2FBXYStatefulViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxyfighting%2FBXYStatefulViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxyfighting%2FBXYStatefulViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bxyfighting%2FBXYStatefulViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bxyfighting","download_url":"https://codeload.github.com/bxyfighting/BXYStatefulViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244520167,"owners_count":20465630,"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":["empty","error","loading","objective-c","placeholder","state","state-management","uiviewcontroller"],"created_at":"2025-03-19T23:10:00.955Z","updated_at":"2025-03-19T23:10:01.622Z","avatar_url":"https://github.com/bxyfighting.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BXYStatefulViewController\n\n[![CI Status](http://img.shields.io/travis/bxyfighting/BXYStatefulViewController.svg?style=flat)](https://travis-ci.org/bxyfighting/BXYStatefulViewController)\n[![Version](https://img.shields.io/cocoapods/v/BXYStatefulViewController.svg?style=flat)](http://cocoapods.org/pods/BXYStatefulViewController)\n[![License](https://img.shields.io/cocoapods/l/BXYStatefulViewController.svg?style=flat)](http://cocoapods.org/pods/BXYStatefulViewController)\n[![Platform](https://img.shields.io/cocoapods/p/BXYStatefulViewController.svg?style=flat)](http://cocoapods.org/pods/BXYStatefulViewController)\n\nA view controller category that presents placeholder views based on content, loading, error or empty states.\n\n## Overview\nIn a networked application a view controller typically has the following states that need to be communicated to the user:\n\n* Loading: The content is currently loaded over the network.\n* Content: The content is available and presented to the user.\n* Empty: There is currently no content available to display.\n* Error: An error occurred whilst downloading content.\n\nAs trivial as this flow may sound, there are a lot of cases that result in a rather large decision tree.\n\n![Decision Tree](decision_tree.png)\n\nBXYStatefulViewController is a concrete implementation of this particular decision tree.\n\n## Installation\n\nBXYStatefulViewController is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'BXYStatefulViewController'\n```\n\n## Author\n\nbxyfighting, bxyfighting@163.com\n\n## License\n\nBXYStatefulViewController 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%2Fbxyfighting%2Fbxystatefulviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbxyfighting%2Fbxystatefulviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbxyfighting%2Fbxystatefulviewcontroller/lists"}