// // AAGlobalMacro.h // AAChartKit // // Created by An An on 17/3/13. // Copyright ยฉ 2017ๅนด An An. All rights reserved. //*************** ...... SOURCE CODE ...... *************** //***...................................................*** //*** https://github.com/AAChartModel/AAChartKit *** //*** https://github.com/AAChartModel/AAChartKit-Swift *** //***...................................................*** //*************** ...... SOURCE CODE ...... *************** /* * ------------------------------------------------------------------------------- * * ๐ŸŒ• ๐ŸŒ– ๐ŸŒ— ๐ŸŒ˜ โ€โ€โ€ WARM TIPS!!! โ€โ€โ€ ๐ŸŒ‘ ๐ŸŒ’ ๐ŸŒ“ ๐ŸŒ” * * Please contact me on GitHub,if there are any problems encountered in use. * GitHub Issues : https://github.com/AAChartModel/AAChartKit/issues * ------------------------------------------------------------------------------- * And if you want to contribute for this project, please contact me as well * GitHub : https://github.com/AAChartModel * StackOverflow : https://stackoverflow.com/users/7842508/codeforu * JianShu : http://www.jianshu.com/u/f1e6753d4254 * SegmentFault : https://segmentfault.com/u/huanghunbieguan * * ------------------------------------------------------------------------------- */ #ifndef AAGlobalMacro_h #define AAGlobalMacro_h #define AAObject(objectName) [[objectName alloc]init] #define AAPropStatementAndPropSetFuncStatement(propertyModifier,className, propertyPointerType, propertyName) \ @property(nonatomic,propertyModifier)propertyPointerType propertyName; \ - (className * (^) (propertyPointerType propertyName)) propertyName##Set; #define AAPropSetFuncImplementation(className, propertyPointerType, propertyName) \ - (className * (^) (propertyPointerType propertyName))propertyName##Set{ \ return ^(propertyPointerType propertyName) { \ _##propertyName = propertyName; \ return self; \ }; \ } #endif /* AAGlobalMacro_h */