Latest 1.0.6
Homepage https://github.com/AntiMoron/GRLayoutView
License MIT
Platforms ios 8.0
Authors

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.

Latest podspec

{
    "name": "GRLayoutView",
    "version": "1.0.6",
    "summary": "iOS UIView layout component.",
    "description": "TODO: To layout iOS UIViews on an UIScrollView.",
    "homepage": "https://github.com/AntiMoron/GRLayoutView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "AntiMoron": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AntiMoron/GRLayoutView.git",
        "tag": "1.0.6"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "GRLayoutView/Classes/**/*"
}

Pin It on Pinterest

Share This