Latest 0.4.0
Homepage https://github.com/stefreak/TTLayoutSupport
License MIT
Platforms ios 7.0, requires ARC
Authors

CI Status
Version
License
Platform

A Category for UIViewController to make it possible to change the length of topLayoutGuide and bottomLayoutGuide

Useful for creating child / parent viewController relationships with translucent navigation bars, for example a UITabBarController-like controller that features translucent bars; Here is an example for that.

Even respects automaticallyAdjustsScrollViewInsets property, just like UINavigationController does.

Screenshot of example

Usage

Just import UIViewController+TTLayoutSupport.h and you can manipulate topLayoutGuide and bottomLayoutGuide
via the tt_topLayoutGuide and tt_bottomLayoutGuide properties.

See the Documentation of TTLayoutGuide for more information how
the layout guide can be set and constrained.

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

Requirements

Supports iOS7 to iOS8. Requires ARC

Installation

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

pod "TTLayoutSupport"

Author

Steffen Neubauer, [email protected]

License

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

Latest podspec

{
    "name": "TTLayoutSupport",
    "version": "0.4.0",
    "summary": "Makes it possible to modify the topLayoutGuide and bottomLayoutGuide of any UIViewController",
    "homepage": "https://github.com/stefreak/TTLayoutSupport",
    "license": "MIT",
    "authors": {
        "Steffen Neubauer": "[email protected]"
    },
    "source": {
        "git": "https://github.com/stefreak/TTLayoutSupport.git",
        "tag": "0.4.0"
    },
    "social_media_url": "https://twitter.com/stefreak",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "resource_bundles": {
        "TTLayoutSupport": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This