UIView(Positioning) Category Reference
| Declared in | UIView+Positioning.h UIView+Positioning.m |
Tasks
-
– convertCenterToView: -
– convertFrameToView: -
– moveToView: -
– moveToBackOfView: -
middleproperty -
widthproperty -
heightproperty -
sizeproperty -
originproperty -
minXproperty -
minYproperty -
maxXproperty -
maxYproperty -
originXproperty -
originYproperty -
centerXproperty -
centerYproperty
Properties
centerX
The views center x position.
@property (nonatomic, assign) CGFloat centerXDeclared In
UIView+Positioning.hcenterY
The views center y position.
@property (nonatomic, assign) CGFloat centerYDeclared In
UIView+Positioning.hheight
The height of the view’s frame.
@property (nonatomic, assign) CGFloat heightDeclared In
UIView+Positioning.hmaxX
The max x origin of the view’s frame.
@property (nonatomic, assign) CGFloat maxXDeclared In
UIView+Positioning.hmaxY
The max y origin of the view’s frame.
@property (nonatomic, assign) CGFloat maxYDeclared In
UIView+Positioning.hmiddle
The coordinate at the middle of the view
@property (nonatomic, readonly) CGPoint middleDeclared In
UIView+Positioning.hminX
The x origin of the view’s frame.
@property (nonatomic, assign) CGFloat minXDeclared In
UIView+Positioning.hminY
The y origin of the view’s frame.
@property (nonatomic, assign) CGFloat minYDeclared In
UIView+Positioning.horigin
The origin of the view’s frame.
@property (nonatomic, assign) CGPoint originDeclared In
UIView+Positioning.horiginX
The x origin of the view’s frame.
@property (nonatomic, assign) CGFloat originXDeclared In
UIView+Positioning.horiginY
The max y origin of the view’s frame.
@property (nonatomic, assign) CGFloat originYDeclared In
UIView+Positioning.hInstance Methods
convertCenterToView:
Converts the view’s center coordinate to a view.
- (CGPoint)convertCenterToView:(UIView *)viewParameters
- view
The given view to translate to.
Return Value
The point the correlates to the center of the view on the given view.
Declared In
UIView+Positioning.hconvertFrameToView:
Converts the view’s frame to a view.
- (CGRect)convertFrameToView:(UIView *)viewParameters
- view
The given view to translate to.
Return Value
The CGRect the correlates to the center of the view on the given view.
Declared In
UIView+Positioning.h