Latest 0.0.2
Homepage https://github.com/Faktorealchik/DPDeepLayout
License MIT
Platforms ios 8.0
Authors

DPDeepLayout

DPDeepLayout is a layout that will help you to create depend on device-sizes screens. You will easily create different layout for usual devices.

Prerequisites

  • iOS 8.0+

Installing

CocoaPods

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

pod 'DeepLayout', '~> 0.0'

Getting Started

Via code
import DeepLayout
if DPDevice.size() > .screen4Inch {
// then set constraint as you want
}
Interface Builder

Use .storyboard, set class of layout object to DPLayoutConstraint, then you can add new constraints

demo
demo2

License

DPDeepLayout is released under the MIT license.
See LICENSE.md for details.

Latest podspec

{
    "name": "DeepLayout",
    "version": "0.0.2",
    "summary": "Deep Layout give your more opportunity to use layout",
    "description": "You can set different font-sizes for different screen-sizes, not as Apple provide - only one for mobiles and one for iPad, you can specify layout in depend of screen size (e.g. if iPhone 5 - constant will be 30, if iPhone 6 - constant will be 40, e.t.c.), just try.",
    "homepage": "https://github.com/Faktorealchik/DPDeepLayout",
    "license": "MIT",
    "authors": {
        "nesterov": "[email protected]"
    },
    "social_media_url": "http://vk.com/faktorealchik",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Faktorealchik/DPDeepLayout.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Classes",
        "DeepLayout/Classes/*.{h,m,swift}"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This