|
26 | 26 |
|
27 | 27 | @class UICollectionView, UIScrollView, UITableView, NSArray;
|
28 | 28 |
|
29 |
| -/*! |
| 29 | +/** |
30 | 30 | @category UIView (IQ_UIView_Hierarchy)
|
31 | 31 |
|
32 | 32 | @abstract UIView hierarchy category.
|
33 | 33 | */
|
34 | 34 | @interface UIView (IQ_UIView_Hierarchy)
|
35 | 35 |
|
36 |
| -/*! |
| 36 | +/** |
37 | 37 | @property isAskingCanBecomeFirstResponder
|
38 | 38 |
|
39 | 39 | @abstract Returns YES if IQKeyboardManager asking for `canBecomeFirstResponder. Useful when doing custom work in `textFieldShouldBeginEditing:` delegate.
|
40 | 40 | */
|
41 | 41 | @property (nonatomic, readonly) BOOL isAskingCanBecomeFirstResponder;
|
42 | 42 |
|
43 |
| -/*! |
| 43 | +/** |
44 | 44 | @property viewController
|
45 | 45 |
|
46 | 46 | @abstract Returns the UIViewController object that manages the receiver.
|
47 | 47 | */
|
48 | 48 | @property (nonatomic, readonly, strong) UIViewController *viewController;
|
49 | 49 |
|
50 |
| -/*! |
| 50 | +/** |
51 | 51 | @property topMostController
|
52 | 52 |
|
53 | 53 | @abstract Returns the topMost UIViewController object in hierarchy.
|
54 | 54 | */
|
55 | 55 | @property (nonatomic, readonly, strong) UIViewController *topMostController;
|
56 | 56 |
|
57 |
| -/*! |
58 |
| - @property superScrollView |
| 57 | +/** |
| 58 | + @method superviewOfClassType: |
59 | 59 |
|
60 |
| - @abstract Returns the UIScrollView object if any found in view's upper hierarchy. |
| 60 | + @return Returns the superView of provided class type. |
61 | 61 | */
|
62 |
| -@property (nonatomic, readonly, strong) UIScrollView *superScrollView; |
| 62 | +-(UIView*)superviewOfClassType:(Class)classType; |
63 | 63 |
|
64 |
| -/*! |
65 |
| - @property superTableView |
66 |
| - |
67 |
| - @abstract Returns the UITableView object if any found in view's upper hierarchy. |
68 |
| - */ |
69 |
| -@property (nonatomic, readonly, strong) UITableView *superTableView; |
70 |
| - |
71 |
| -/*! |
72 |
| - @property superCollectionView |
73 |
| - |
74 |
| - @abstract Returns the UICollectionView object if any found in view's upper hierarchy. |
75 |
| - */ |
76 |
| -@property (nonatomic, readonly, strong) UICollectionView *superCollectionView NS_AVAILABLE_IOS(6_0); |
77 |
| - |
78 |
| -/*! |
| 64 | +/** |
79 | 65 | @property responderSiblings
|
80 | 66 |
|
81 | 67 | @abstract returns all siblings of the receiver which canBecomeFirstResponder.
|
82 | 68 | */
|
83 | 69 | @property (nonatomic, readonly, copy) NSArray *responderSiblings;
|
84 | 70 |
|
85 |
| -/*! |
| 71 | +/** |
86 | 72 | @property deepResponderViews
|
87 | 73 |
|
88 | 74 | @abstract returns all deep subViews of the receiver which canBecomeFirstResponder.
|
89 | 75 | */
|
90 | 76 | @property (nonatomic, readonly, copy) NSArray *deepResponderViews;
|
91 | 77 |
|
92 |
| -/*! |
| 78 | +/** |
93 | 79 | @property isSearchBarTextField
|
94 | 80 |
|
95 | 81 | @abstract returns YES if the receiver object is UISearchBarTextField, otherwise return NO.
|
96 | 82 | */
|
97 | 83 | @property (nonatomic, getter=isSearchBarTextField, readonly) BOOL searchBarTextField;
|
98 | 84 |
|
99 |
| -/*! |
| 85 | +/** |
100 | 86 | @property isAlertViewTextField
|
101 | 87 |
|
102 | 88 | @abstract returns YES if the receiver object is UIAlertSheetTextField, otherwise return NO.
|
103 | 89 | */
|
104 | 90 | @property (nonatomic, getter=isAlertViewTextField, readonly) BOOL alertViewTextField;
|
105 | 91 |
|
106 |
| -/*! |
| 92 | +/** |
107 | 93 | @method convertTransformToView
|
108 | 94 |
|
109 | 95 | @return returns current view transform with respect to the 'toView'.
|
110 | 96 | */
|
111 | 97 | -(CGAffineTransform)convertTransformToView:(UIView*)toView;
|
112 | 98 |
|
113 |
| -/*! |
| 99 | +/** |
114 | 100 | @property subHierarchy
|
115 | 101 |
|
116 | 102 | @abstract Returns a string that represent the information about it's subview's hierarchy. You can use this method to debug the subview's positions.
|
117 | 103 | */
|
118 | 104 | @property (nonatomic, readonly, copy) NSString *subHierarchy;
|
119 | 105 |
|
120 |
| -/*! |
| 106 | +/** |
121 | 107 | @property superHierarchy
|
122 | 108 |
|
123 | 109 | @abstract Returns an string that represent the information about it's upper hierarchy. You can use this method to debug the superview's positions.
|
124 | 110 | */
|
125 | 111 | @property (nonatomic, readonly, copy) NSString *superHierarchy;
|
126 | 112 |
|
127 |
| -/*! |
| 113 | +/** |
128 | 114 | @property debugHierarchy
|
129 | 115 |
|
130 | 116 | @abstract Returns an string that represent the information about it's frame positions. You can use this method to debug self positions.
|
|
134 | 120 | @end
|
135 | 121 |
|
136 | 122 |
|
137 |
| -/*! |
| 123 | +/** |
138 | 124 | @category UIView (IQ_UIView_Frame)
|
139 | 125 |
|
140 | 126 | @abstract UIView frame category.
|
|
154 | 140 |
|
155 | 141 | @interface NSObject (IQ_Logging)
|
156 | 142 |
|
157 |
| -/*! |
| 143 | +/** |
158 | 144 | @property _IQDescription
|
159 | 145 |
|
160 | 146 | @abstract Short description for logging purpose.
|
|
0 commit comments