//求最大值和最小值#define MY_MAX( x, y ) ( ((x) > (y)) ? (x) : (y) ) #define MY_MIN( x, y ) ( ((x) < (y)) ? (x) : (y) ) //得到一个field在结构体(struct)中的偏移量//#define  ...
                            
                            
                                分类:
编程语言   时间:
2020-11-01 10:38:25   
                                阅读次数:
18
                             
                         
                    
                        
                            
                            
                                    1、代码 #pragma mark - 判断机型 /* 设备是否为iPhone4、iPhone4S (1)逻辑分辨率(point):320x480 (2)物理分辨率(pixel,像素):640x1136 (3)缩放因子 :@2x (4)PPI(像素密度): 326 (5)对角线:3.5 inch * ...
                            
                            
                                分类:
移动开发   时间:
2020-06-26 18:24:18   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                    /* This file contains definitions used by the Hex-Rays decompiler output. It has type definitions and convenience macros to make the output more reada ...
                            
                            
                                分类:
其他好文   时间:
2020-05-08 16:13:24   
                                阅读次数:
107
                             
                         
                    
                        
                            
                            
                                由于HR的数据对时间的特殊性,经常需要对数据对基于时间段的一些处理。SAP提供了一些宏来极大的简化了问题。一般数据的处理上,常用到的宏有下面几个: (1) 在满足屏选条件的多个结果中,可以用RP_PROVIDE_FROM_FRST来选择时间最早的一条记录,语法: RP_PROVIDE_FROM_FR ...
                            
                            
                                分类:
其他好文   时间:
2020-03-23 11:22:10   
                                阅读次数:
85
                             
                         
                    
                        
                            
                            
                                B站视频 https://www.bilibili.com/video/av13653846/?p=3 LaTeX编辑表格的常用宏包与实例http://www.360doc.com/content/14/0916/10/9561082_409854404.shtml 表格 \begin{tabula ...
                            
                            
                                分类:
其他好文   时间:
2019-07-14 14:38:55   
                                阅读次数:
1038
                             
                         
                    
                        
                            
                            
                                为了简化开发流程,提升工作效率,收集了一些平时常用的宏定义,今后会不定期更新 1.UI元素 //NavBar高度 #define NAVIGATIONBAR_HEIGHT 44 //StatusBar高度 #define STATUSBAR_HEIGHT 20 //获取屏幕 宽度、高度 #defin ...
                            
                            
                                分类:
移动开发   时间:
2019-07-12 14:20:56   
                                阅读次数:
140
                             
                         
                    
                        
                            
                            
                                #pragma mark - 字体、颜色相关 #define kFONT_SIZE(f) [UIFont systemFontOfSize:(f)] #define kFONT_BOLD_SIZE(f) [UIFont boldSystemFontOfSize:(f)] #define kFONT_ ...
                            
                            
                                分类:
移动开发   时间:
2019-07-12 14:20:43   
                                阅读次数:
133
                             
                         
                    
                        
                            
                            
                                小组空间(Team Spaces): 介绍小组:User Profile Macro 将会对 Confluence 的用户显示属性的简单摘要,属性照片,联系方式。 在你小组中分享通知和新闻:The Blog Posts Macro 将会显示你空间中博客内容的最新更新信息流,这样你的小组成员就很容易的 ...
                            
                            
                                分类:
其他好文   时间:
2018-12-06 10:18:19   
                                阅读次数:
256
                             
                         
                    
                        
                            
                            
                                    1、第三方框架:Toast 2、第三方框架:MBProgressHUD ...
                            
                            
                                分类:
其他好文   时间:
2018-07-15 00:52:37   
                                阅读次数:
280