File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ //
2
+ // CGExt.h
3
+ // Kho
4
+ //
5
+ // Created by iOSDec on 08/02/2018.
6
+ // Copyright © 2018 iosdec. All rights reserved.
7
+ //
8
+
9
+ #import < UIKit/UIKit.h>
10
+ #import < Foundation/Foundation.h>
11
+
12
+ @interface UIView (CGExt)
13
+
14
+ - (void )sameRectWithNewX : (CGFloat )x ;
15
+ - (void )sameRectWithNewX : (CGFloat )x y : (CGFloat )y ;
16
+ - (void )sameRectWithNewY : (CGFloat )y ;
17
+ - (void )sameRectWithNewWidth : (CGFloat )width ;
18
+ - (void )sameRectWithNewHeight : (CGFloat )height ;
19
+ - (void )sameRectWithNewHeight : (CGFloat )height y : (CGFloat )y ;
20
+ - (void )sameRectWithView : (UIView *)view ;
21
+ - (void )sameRectWithNewWidth : (CGFloat )width height : (CGFloat )height ;
22
+ - (void )sameRectWithNewWidth : (CGFloat )width height : (CGFloat )height y : (CGFloat )y ;
23
+
24
+ @end
25
+
26
+ @interface CGeometry : NSObject
27
+
28
+ + (CGFloat )findHeightForText : (NSString *)text havingWidth : (CGFloat )widthValue andFont : (UIFont *)font ;
29
+ + (CGFloat )recalculatedViewHeight : (UIView *)view label : (UILabel *)label minHeight : (CGFloat )min ;
30
+ + (CGFloat )recalculatedViewHeight : (UIView *)view textView : (UITextView *)label minHeight : (CGFloat )min ;
31
+
32
+ @end
You can’t perform that action at this time.
0 commit comments