All Projects → mariohahn → Statusprovider

mariohahn / Statusprovider

Licence: mit
Protocol to handle initial Loadings, Empty Views and Error Handling in a ViewController & views

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
Starscream
Websockets in swift for iOS and OSX
Stars: ✭ 7,105 (+708.3%)
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
Ngx Progressbar
Angular progress bar ☄
Stars: ✭ 813 (-7.51%)
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
Similarloadingview
A stylish loading view for Android
Stars: ✭ 26 (-97.04%)
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
Thoth
An Error Logger for Go
Stars: ✭ 22 (-97.5%)
Mutual labels:  error-handling
Modbus
Modbus RTU and TCP support for C#
Stars: ✭ 23 (-97.38%)
Mutual labels:  protocol
Android Circledialog
仿IOS圆角对话框、进度条、列表框、输入框,ad广告框,支持横竖屏切换
Stars: ✭ 880 (+0.11%)
Mutual labels:  loading
Python Opcua
LGPL Pure Python OPC-UA Client and Server
Stars: ✭ 863 (-1.82%)
Mutual labels:  protocol

Carthage compatible

StatusProvider

Screenshot

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].