FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIAlertView.h
Go to the documentation of this file.
1 //
2 // UIAlertView.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 10. 3. 6..
6 // Copyright 2010 youknowone.org All rights reserved.
7 //
8 
9 #if DEBUG
10  #define UILog(TAG, ...) { if ( TAG ) { NSString *logText = [NSString stringWithFormat:__VA_ARGS__]; if (TAG) NSLog(__VA_ARGS__); [UIAlertView showLog:logText file:__FILE__ line:__LINE__]; } }
11 #else
12  #define UILog(TAG, ...)
13 #endif
14 
15 #import <UIKit/UIKit.h>
16 
18 
19 + (instancetype)showLog:(NSString *)log file:(char *)filename line:(int)line __deprecated;
20 
21 - (instancetype)initNoticeWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle __deprecated;
22 + (instancetype)showNoticeWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle __deprecated;
23 
24 @end
Definition: UIAlertView.h:17