UIView+SDExtension.h
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// UIView+SDExtension.h
// SDRefreshView
//
// Created by aier on 15-2-23.
// Copyright (c) 2015年 GSD. All rights reserved.
//
/*
*********************************************************************************
*
* 🌟🌟🌟 新建SDCycleScrollView交流QQ群:185534916 🌟🌟🌟
*
* 在您使用此自动轮播库的过程中如果出现bug请及时以以下任意一种方式联系我们,我们会及时修复bug并
* 帮您解决问题。
* 新浪微博:GSD_iOS
* Email : gsdios@126.com
* GitHub: https://github.com/gsdios
*
* 另(我的自动布局库SDAutoLayout):
* 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于
* 做最简单易用的AutoLayout库。
* 视频教程:http://www.letv.com/ptv/vplay/24038772.html
* 用法示例:https://github.com/gsdios/SDAutoLayout/blob/master/README.md
* GitHub:https://github.com/gsdios/SDAutoLayout
*********************************************************************************
*/
#import <UIKit/UIKit.h>
#define SDColorCreater(r, g, b, a) [UIColor colorWithRed:(r / 255.0) green:(g / 255.0) blue:(b / 255.0) alpha:a]
@interface UIView (SDExtension)
@property (nonatomic, assign) CGFloat sd_height;
@property (nonatomic, assign) CGFloat sd_width;
@property (nonatomic, assign) CGFloat sd_y;
@property (nonatomic, assign) CGFloat sd_x;
@end