Skip to content
An autolayout based helper for views placeholding and view controllers containment
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
Pod
.gitignore
.travis.yml
CDBPlacedUI.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

CDBPlacedUI

Use it to place views into placeholders and implement view controllers containment in easy way. It based on autolayout iOS technology.

CI Status Version License Platform

PLACEHOLDER

'UIView * view = [UIView new];

[CDBPlaceholderMaster placeUI:view inPlaceholder:self.view usingOptions:CDBPlacedUIOptionsCentered | CDBPlacedUIOptionsEqualSize];'

CONTAINMENT

'UIViewController * controller = [UIViewController new]; controller.view.frame = CGRectMake(0, 0, 200, 200); [CDBContainmentMaster displayChildViewController:controller withOptions:CDBPlacedUIOptionsCentered | CDBPlacedUIOptionsConstantSize inView:redView ofViewController:self];'

TODO

  • Add tests

Usage

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

Requirements

Installation

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

pod "CDBPlacedUI"

Author

yocaminobien, yocaminobien@gmail.com

License

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

You can’t perform that action at this time.