https://github.com/yeahdongcn/ios-relative-view-layout-helper
UIView category: implements MS WPF style layout helper. Using margin (thickness), alignments to layout view inside its super view or beside one another view.
https://github.com/yeahdongcn/ios-relative-view-layout-helper
Last synced: over 1 year ago
JSON representation
UIView category: implements MS WPF style layout helper. Using margin (thickness), alignments to layout view inside its super view or beside one another view.
- Host: GitHub
- URL: https://github.com/yeahdongcn/ios-relative-view-layout-helper
- Owner: yeahdongcn
- License: mit
- Created: 2012-11-19T03:21:27.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-12-26T04:52:38.000Z (over 12 years ago)
- Last Synced: 2025-03-27T14:55:25.614Z (over 1 year ago)
- Language: Objective-C
- Homepage:
- Size: 146 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
iOS-relative-view-layout-helper
===============================
UIView+Layout.h
This category provides 2 functions to layout view inside its super view or beside one another view.
- (void)layoutInsideView:(UIView *)view
WithHorizontalAlignment:(HorizontalAlignment)horizontalAlignment
withVerticalAlignment:(VerticalAlignment)verticalAlignment
withMargin:(Thickness)margin;
- (void)layoutBesideView:(UIView *)view
withVertexAlignment:(VertexAlignment)vertexAlignment
withMargin:(Thickness)margin;
[](https://bitdeli.com/free "Bitdeli Badge")