2013年12月27日 星期五

在yourApp-Prefix.pch中加入你要引用的.h檔,即可以自動引用到每一個Class中

#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>

#include "Define.h"    //<===加在這
#include "KSMacros.h"  //<===加在這
#include "Singleton.h" //<===加在這


#endif

沒有留言:

張貼留言