BastiaanJansen/toast-swift

Custom toast view

Closed this issue · 1 comments

On your code page you have an example for CustomToastView, could you add some sample code of what would go into the func createView(for toast: Toast).

Hi, @Maverick1000,

Toast class just expects a ToastView, which can be any view as long as it implements the ToastView protocol. You could look at this file to see how the default toast view is made.