UIView+Toast.h 220 B

12345678910111213
  1. #import <UIKit/UIKit.h>
  2. NS_ASSUME_NONNULL_BEGIN
  3. @interface UIView (Toast)
  4. - (void)showToast:(NSString *)message;
  5. - (void)showToast:(NSString *)message duration:(NSTimeInterval)duration;
  6. @end
  7. NS_ASSUME_NONNULL_END