アプリ名-Prefix.pch
# import <Availability.h>
# ifndef __IPHONE_5_0
# warning "This project uses features only available in iOS SDK 5.0 and later."
# endif
# ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#define LOG(A, ...) NSLog(@"LOG: %s:%d:%@", __PRETTY_FUNCTION__,__LINE__,[NSString stringWithFormat:A, ## __VA_ARGS__]);
# endif
LOG()
- ログにクラス名やコードのラインを出す
- これがないと不安になる