123456789101112131415161718192021222324252627282930 |
- //
- // CustomAlertView.h
- // NoteLedge for Mac
- //
- // Created by LiuZhiXun on 16/4/27.
- // Copyright © 2016年 kdanmobile. All rights reserved.
- //
- #import <Cocoa/Cocoa.h>
- typedef NS_ENUM(NSUInteger, KMCustomAlertStyle) {
- KMCustomAlertStyle_Black,
- KMCustomAlertStyle_Blue,
- };
- @interface CustomAlertView : NSView
- //+ (CustomAlertView *)alertViewWithMessage:(NSString *)message
- // fromView:(NSView *)supverView;
- + (CustomAlertView *)alertViewWithMessage:(NSString *)message
- fromView:(NSView *)supverView
- withStyle:(KMCustomAlertStyle)style;
- + (CustomAlertView *)alertViewWithMessage:(NSString *)message
- fromView:(NSView *)supverView
- withStyle:(KMCustomAlertStyle)style
- backgroundColor:(NSColor *)color;
- @end
|