mariohahn / Statusprovider
Licence: mit
Protocol to handle initial Loadings, Empty Views and Error Handling in a ViewController & views
Stars: ✭ 879
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Statusprovider
Stateviews
Create & Show progress, data or error views, the easy way!
Stars: ✭ 367 (-58.25%)
Mutual labels: error-handling, loading
Awareness
The new architecture of co-computation for data processing and machine learning.
Stars: ✭ 11 (-98.75%)
Mutual labels: protocol
Vue Loadable
⏳ Improve your loading state control with pretty simple methods and helpers.
Stars: ✭ 23 (-97.38%)
Mutual labels: loading
Node Ntp
⌛️ simple network time protocol implementation for node.js
Stars: ✭ 17 (-98.07%)
Mutual labels: protocol
React Circle
Renders a svg circle + progress, it just works 💘
Stars: ✭ 925 (+5.23%)
Mutual labels: loading
Await Handler
Basic wrapper for await that allows handling of errors without try/catch blocks
Stars: ✭ 13 (-98.52%)
Mutual labels: error-handling
Angular Loading Feedback
Angular directive to indicate loads in app
Stars: ✭ 8 (-99.09%)
Mutual labels: loading
Windless
Windless makes it easy to implement invisible layout loading view.
Stars: ✭ 919 (+4.55%)
Mutual labels: loading
Protobuf Convert
Macros for convenient serialization of Rust data structures into/from Protocol Buffers 3
Stars: ✭ 22 (-97.5%)
Mutual labels: protocol
Loaderbutton
LoaderButton is a very interesting animation loading button.
Stars: ✭ 19 (-97.84%)
Mutual labels: loading
Graph Node
Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
Stars: ✭ 884 (+0.57%)
Mutual labels: protocol
Awloader
AWLoader is a UI Component that allows you to integrate loader that fits your needs within your app.
Stars: ✭ 11 (-98.75%)
Mutual labels: loading
Error Overlay Webpack Plugin
Catch errors with style 💥✨
Stars: ✭ 821 (-6.6%)
Mutual labels: error-handling
StatusProvider
Protocol to handle initial Loadings, Empty Views and Error Handling in a ViewController & views
CocoaPods Podfile
pod 'StatusProvider'
Functions
- Loading
- EmptyView
- Error Handling
How to use?
class ErrorViewController: UIViewController, StatusController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Error"
let status = Status(title: "Error", description: "Oh... fu**", actionTitle: "Retry 🚀") {
}
show(status: status)
}
}
class ActivityViewController: UIViewController, StatusController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Loading"
let status = Status(isLoading: true, description: "Lädt…")
show(status: status)
}
}
class EmptyViewController: UIViewController, StatusController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Empty"
let status = Status(title: "no Data", description: "No data available.💣", actionTitle: "Create ⭐️", image: UIImage(named: "placeholder_instagram")) {
self.hideStatus()
}
show(status: status)
}
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].