/Swift-Helpers-Extensions

A list of code helpers and extensions in Swift

Primary LanguageSwift

Helpers & Extension

Alertable

Display simple alert message on View Controller

class ViewController: UIViewController, Alertable {
    
    func showError(_ error: String) {
	// By conforming to Alertable, you have showAlert(message:) function
        showAlert(message: error)
    }
    
}

Implement: Alertable

Observable

Data Binding

Implement: Observable