1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // 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 */
|