Skip to content

AntiMoron/GRLayoutView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRLayoutView

CI Status Version License Platform

About

Sometimes it's hard to place UIViews through code. So here comes this library. The library contributes to laying out elements on a UIScrollView with a single method.

Issues are welcomed

Usage

Let's check how to use:

self.layoutView = GRVertical(self.textLabel, GRVerticalH(@"User Form", self.userName, self.password), self.submit);
self.layoutView.frame = self.view.bounds;
self.layoutView.headerContent = @"Demo page";
[self.view addSubview:self.layoutView];

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

GRLayoutView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "GRLayoutView"

License

GRLayoutView is available under the MIT license. See the LICENSE file for more info.