提前定义,不然编译器找不到

//

//  Prefix header

//

//  The contents of this file are implicitly included at the beginning of every source file.

//


#import <Availability.h>


#ifndef __IPHONE_3_0

#warning "This project uses features only available in iOS SDK 3.0 and later."

#endif


//生成静态属性

#undef MB_GET_PROPERTY

#define MB_GET_PROPERTY( __name) \

@property (nonatomic, strong, readonly) NSString* __name; \

+ (NSString *)__name;


#undef MB_SET_PROPERTY

#define MB_SET_PROPERTY( __name, __value) \

@dynamic __name; \

+ (NSString *)__name \

{ \

return __value; \

}


#ifdef __OBJC__

    #import <UIKit/UIKit.h>

    #import <Foundation/Foundation.h>

#import "LLBTConstant.h"

#import "LLBTGlobalCore.h"

#import "LLBTAdditions.h"

#import "LLBTFileManager.h"

#import "LLBTButton.h"

#import "LLBTShareDic.h"

#import "LLBTLoginViewController.h"

#import "LLBTRequest.h"

#import "LLBTMethond.h"


#endif




#import "LLBTMethond.h"  //这个类里面 封装的是接口的名称,里面会用到MB_GET_PROPERTY  MB_SET_PROPERTY定义的东西,倘若写反了,把这个写在下面了,编译器就会找不到。。。。。所以就会报错,    总之,后面需要用到的 都要提前去定义。。。。。






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值