as code given by materialdesign.io
let action = MDCSnackbarMessageAction()
let actionHandler = {() in
let message = MDCSnackbarMessage()
message.text = "Please complete your KYC detail"
MDCSnackbarManager.show(message)
}
action.handler = actionHandler
action.title = "OK"
message.action = action
I have tried everything , but this code of google materialdesign.io not working.